[INFO] cloning repository https://github.com/Webd01/SuperWASM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Webd01/SuperWASM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWebd01%2FSuperWASM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWebd01%2FSuperWASM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07d0092f8b4935ec2aeb981f6b5381e4776d86cb [INFO] checking Webd01/SuperWASM against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWebd01%2FSuperWASM" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Webd01/SuperWASM on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Webd01/SuperWASM [INFO] finished tweaking git repo https://github.com/Webd01/SuperWASM [INFO] tweaked toml for git repo https://github.com/Webd01/SuperWASM written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Webd01/SuperWASM already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 006710c9619b0daf13b6504b67be194239368ec15ed59b39d7a52ec35eed19fd [INFO] running `Command { std: "docker" "start" "-a" "006710c9619b0daf13b6504b67be194239368ec15ed59b39d7a52ec35eed19fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "006710c9619b0daf13b6504b67be194239368ec15ed59b39d7a52ec35eed19fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "006710c9619b0daf13b6504b67be194239368ec15ed59b39d7a52ec35eed19fd", kill_on_drop: false }` [INFO] [stdout] 006710c9619b0daf13b6504b67be194239368ec15ed59b39d7a52ec35eed19fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0f9c422f17ab8eee04769652ea92bc093ec09408145bfe8abdc156736dce7ee [INFO] running `Command { std: "docker" "start" "-a" "d0f9c422f17ab8eee04769652ea92bc093ec09408145bfe8abdc156736dce7ee", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking http v0.1.13 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling syn v0.15.9 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rmp v0.8.7 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Checking toml v0.4.8 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking serde_cbor v0.8.2 [INFO] [stderr] Checking rmp-serde v0.13.7 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Compiling stdweb-derive v0.5.0 [INFO] [stderr] Checking stdweb v0.4.9 [INFO] [stderr] Checking yew v0.5.0 (https://github.com/DenisKolodin/yew#33ebfcbe) [INFO] [stdout] {"reason":"compiler-message","package_id":"yew 0.5.0 (git+https://github.com/DenisKolodin/yew#33ebfcbe5e5fe4dda97a9cadd1e6bb4e9483018a)","manifest_path":"/opt/rustwide/cargo-home/git/checkouts/yew-cffb4df3674cc4fb/33ebfcb/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"yew","src_path":"/opt/rustwide/cargo-home/git/checkouts/yew-cffb4df3674cc4fb/33ebfcb/src/lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"message":{"message":"recursion limit reached while expanding `_js_impl!`","code":null,"level":"error","spans":[{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":true,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12860,"byte_end":12979,"line_start":238,"line_end":238,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12860,"byte_end":12979,"line_start":238,"line_end":238,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12598,"byte_end":12717,"line_start":234,"line_end":234,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12860,"byte_end":12979,"line_start":238,"line_end":238,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12860,"byte_end":12979,"line_start":238,"line_end":238,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11168,"byte_end":11200,"line_start":211,"line_end":211,"column_start":44,"column_end":76,"is_primary":false,"text":[{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":44,"highlight_end":76}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":13119,"byte_end":13249,"line_start":242,"line_end":242,"column_start":9,"column_end":139,"is_primary":false,"text":[{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":139}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12860,"byte_end":12979,"line_start":238,"line_end":238,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12860,"byte_end":12979,"line_start":238,"line_end":238,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12860,"byte_end":12979,"line_start":238,"line_end":238,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11089,"byte_end":11121,"line_start":210,"line_end":210,"column_start":44,"column_end":76,"is_primary":false,"text":[{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":44,"highlight_end":76}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":13119,"byte_end":13249,"line_start":242,"line_end":242,"column_start":9,"column_end":139,"is_primary":false,"text":[{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":139}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12860,"byte_end":12979,"line_start":238,"line_end":238,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11010,"byte_end":11042,"line_start":209,"line_end":209,"column_start":44,"column_end":76,"is_primary":false,"text":[{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":44,"highlight_end":76}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":13119,"byte_end":13249,"line_start":242,"line_end":242,"column_start":9,"column_end":139,"is_primary":false,"text":[{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":139}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10931,"byte_end":10963,"line_start":208,"line_end":208,"column_start":44,"column_end":76,"is_primary":false,"text":[{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":44,"highlight_end":76}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":13119,"byte_end":13249,"line_start":242,"line_end":242,"column_start":9,"column_end":139,"is_primary":false,"text":[{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":139}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10852,"byte_end":10884,"line_start":207,"line_end":207,"column_start":44,"column_end":76,"is_primary":false,"text":[{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":44,"highlight_end":76}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":13119,"byte_end":13249,"line_start":242,"line_end":242,"column_start":9,"column_end":139,"is_primary":false,"text":[{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":139}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10773,"byte_end":10805,"line_start":206,"line_end":206,"column_start":44,"column_end":76,"is_primary":false,"text":[{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":44,"highlight_end":76}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":13119,"byte_end":13249,"line_start":242,"line_end":242,"column_start":9,"column_end":139,"is_primary":false,"text":[{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":139}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12860,"byte_end":12979,"line_start":238,"line_end":238,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14324,"byte_end":14449,"line_start":262,"line_end":262,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12860,"byte_end":12979,"line_start":238,"line_end":238,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":11982,"byte_end":12086,"line_start":222,"line_end":222,"column_start":9,"column_end":113,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":9,"highlight_end":113}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14568,"byte_end":14673,"line_start":266,"line_end":266,"column_start":9,"column_end":114,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":9,"highlight_end":114}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10694,"byte_end":10726,"line_start":205,"line_end":205,"column_start":44,"column_end":76,"is_primary":false,"text":[{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":44,"highlight_end":76}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":13119,"byte_end":13249,"line_start":242,"line_end":242,"column_start":9,"column_end":139,"is_primary":false,"text":[{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":139}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":12336,"byte_end":12455,"line_start":230,"line_end":230,"column_start":9,"column_end":128,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":128}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10615,"byte_end":10647,"line_start":204,"line_end":204,"column_start":44,"column_end":76,"is_primary":false,"text":[{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":44,"highlight_end":76}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":13119,"byte_end":13249,"line_start":242,"line_end":242,"column_start":9,"column_end":139,"is_primary":false,"text":[{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":139}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":14810,"byte_end":14935,"line_start":270,"line_end":270,"column_start":9,"column_end":134,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":9,"highlight_end":134}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":15140,"byte_end":15189,"line_start":277,"line_end":277,"column_start":13,"column_end":62,"is_primary":false,"text":[{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":13,"highlight_end":62}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":27824,"byte_end":27864,"line_start":491,"line_end":491,"column_start":27,"column_end":67,"is_primary":false,"text":[{"text":" _js_impl!( @call [_js_impl!( @stringify [] -> $($token)* ), []] [] -> $($token)* )","highlight_start":27,"highlight_end":67}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/opt/rustwide/cargo-home/git/checkouts/yew-cffb4df3674cc4fb/33ebfcb/src/services/fetch.rs","byte_start":6698,"byte_end":8514,"line_start":222,"line_end":273,"column_start":18,"column_end":6,"is_primary":false,"text":[{"text":" let handle = js! {","highlight_start":18,"highlight_end":23},{"text":" var body = @{body};","highlight_start":1,"highlight_end":28},{"text":" if (@{binary} && body != null) {","highlight_start":1,"highlight_end":41},{"text":" body = Uint8Array.from(body);","highlight_start":1,"highlight_end":42},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" var data = {","highlight_start":1,"highlight_end":21},{"text":" method: @{method},","highlight_start":1,"highlight_end":31},{"text":" body: body,","highlight_start":1,"highlight_end":24},{"text":" headers: @{header_map},","highlight_start":1,"highlight_end":36},{"text":" };","highlight_start":1,"highlight_end":11},{"text":" var request = new Request(@{uri}, data);","highlight_start":1,"highlight_end":49},{"text":" var callback = @{callback};","highlight_start":1,"highlight_end":36},{"text":" var abortController = AbortController ? new AbortController() : null;","highlight_start":1,"highlight_end":78},{"text":" var handle = {","highlight_start":1,"highlight_end":23},{"text":" active: true,","highlight_start":1,"highlight_end":26},{"text":" callback,","highlight_start":1,"highlight_end":22},{"text":" abortController,","highlight_start":1,"highlight_end":29},{"text":" };","highlight_start":1,"highlight_end":11},{"text":" var init = @{Serde(options)} || {};","highlight_start":1,"highlight_end":44},{"text":" if (abortController && !(\"signal\" in init)) {","highlight_start":1,"highlight_end":54},{"text":" init.signal = abortController.signal;","highlight_start":1,"highlight_end":50},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" fetch(request, init).then(function(response) {","highlight_start":1,"highlight_end":55},{"text":" var promise = (@{binary}) ? response.arrayBuffer() : response.text();","highlight_start":1,"highlight_end":82},{"text":" var status = response.status;","highlight_start":1,"highlight_end":42},{"text":" var headers = {};","highlight_start":1,"highlight_end":30},{"text":" response.headers.forEach(function(value, key) {","highlight_start":1,"highlight_end":60},{"text":" headers[key] = value;","highlight_start":1,"highlight_end":38},{"text":" });","highlight_start":1,"highlight_end":16},{"text":" promise.then(function(data) {","highlight_start":1,"highlight_end":42},{"text":" if (handle.active == true) {","highlight_start":1,"highlight_end":45},{"text":" handle.active = false;","highlight_start":1,"highlight_end":43},{"text":" callback(true, status, headers, data);","highlight_start":1,"highlight_end":59},{"text":" callback.drop();","highlight_start":1,"highlight_end":37},{"text":" }","highlight_start":1,"highlight_end":18},{"text":" }).catch(function(err) {","highlight_start":1,"highlight_end":37},{"text":" if (handle.active == true) {","highlight_start":1,"highlight_end":45},{"text":" handle.active = false;","highlight_start":1,"highlight_end":43},{"text":" callback(false, status, headers, data);","highlight_start":1,"highlight_end":60},{"text":" callback.drop();","highlight_start":1,"highlight_end":37},{"text":" }","highlight_start":1,"highlight_end":18},{"text":" });","highlight_start":1,"highlight_end":16},{"text":" }).catch(function(e) {","highlight_start":1,"highlight_end":31},{"text":" if (handle.active == true) {","highlight_start":1,"highlight_end":41},{"text":" var data = (@{binary}) ? new ArrayBuffer() : \"\";","highlight_start":1,"highlight_end":65},{"text":" handle.active = false;","highlight_start":1,"highlight_end":39},{"text":" callback(false, 408, {}, data);","highlight_start":1,"highlight_end":48},{"text":" callback.drop();","highlight_start":1,"highlight_end":33},{"text":" }","highlight_start":1,"highlight_end":14},{"text":" });","highlight_start":1,"highlight_end":12},{"text":" return handle;","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":6}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"js!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":27593,"byte_end":27897,"line_start":485,"line_end":493,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! js {","highlight_start":1,"highlight_end":1},{"text":" (@($($flags:tt),*) $($token:tt)*) => {","highlight_start":1,"highlight_end":1},{"text":" _js_impl!( @call [_js_impl!( @stringify [$($flags)*] -> $($token)* ), [$($flags)*]] [] -> $($token)* )","highlight_start":1,"highlight_end":1},{"text":" };","highlight_start":1,"highlight_end":1},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ($($token:tt)*) => {","highlight_start":1,"highlight_end":1},{"text":" _js_impl!( @call [_js_impl!( @stringify [] -> $($token)* ), []] [] -> $($token)* )","highlight_start":1,"highlight_end":1},{"text":" };","highlight_start":1,"highlight_end":1},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"_js_impl!","def_site_span":{"file_name":"/opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.9/src/webcore/macros.rs","byte_start":10469,"byte_end":26182,"line_start":202,"line_end":440,"column_start":1,"column_end":2,"is_primary":false,"text":[{"text":"macro_rules! _js_impl {","highlight_start":1,"highlight_end":24},{"text":" (@_inc @$cmd:tt \"0\" $($rest:tt)*) => { _js_impl!( @$cmd \"1\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"1\" $($rest:tt)*) => { _js_impl!( @$cmd \"2\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"2\" $($rest:tt)*) => { _js_impl!( @$cmd \"3\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"3\" $($rest:tt)*) => { _js_impl!( @$cmd \"4\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"4\" $($rest:tt)*) => { _js_impl!( @$cmd \"5\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"5\" $($rest:tt)*) => { _js_impl!( @$cmd \"6\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"6\" $($rest:tt)*) => { _js_impl!( @$cmd \"7\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"7\" $($rest:tt)*) => { _js_impl!( @$cmd \"8\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"8\" $($rest:tt)*) => { _js_impl!( @$cmd \"9\" $($rest)* ) };","highlight_start":1,"highlight_end":79},{"text":" (@_inc @$cmd:tt \"9\" $($rest:tt)*) => { _js_impl!( @$cmd \"10\" $($rest)* ) };","highlight_start":1,"highlight_end":80},{"text":" (@_inc @$cmd:tt \"10\" $($rest:tt)*) => { _js_impl!( @$cmd \"11\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"11\" $($rest:tt)*) => { _js_impl!( @$cmd \"12\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"12\" $($rest:tt)*) => { _js_impl!( @$cmd \"13\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"13\" $($rest:tt)*) => { _js_impl!( @$cmd \"14\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"14\" $($rest:tt)*) => { _js_impl!( @$cmd \"15\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"15\" $($rest:tt)*) => { _js_impl!( @$cmd \"16\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":" (@_inc @$cmd:tt \"16\" $($rest:tt)*) => { _js_impl!( @$cmd \"17\" $($rest)* ) };","highlight_start":1,"highlight_end":81},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$terminator:tt $($terminator_rest:tt)*] [$($out:tt)*] -> [] $next:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator_rest)*] [$($out)* ($terminator)] -> $next $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [] [$($out:tt)*] -> []) => {","highlight_start":1,"highlight_end":62},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [($($inner:tt)*) $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\")\" $($terminator)*] [$($out)* (\"(\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [[$($inner:tt)*] $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"]\" $($terminator)*] [$($out)* (\"[\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [{$($inner:tt)*} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":126},{"text":" _js_impl!( @_stringify $arg_counter [\"}\" $($terminator)*] [$($out)* (\"{\")] -> [$($inner)*] [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":128},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [@{$arg:expr} $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":123},{"text":" _js_impl!( @_inc @_stringify $arg_counter [$($terminator)*] [$($out)* (\"($\") ($arg_counter) (\")\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":139},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [++ $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"++\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [-- $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":113},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"--\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [=== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"===\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [!== $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":114},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (\"!==\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":113},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt . $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":122},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\".\")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt] $($rest:tt)*) => {","highlight_start":1,"highlight_end":102},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token ))] -> [] $($rest)* )","highlight_start":1,"highlight_end":114},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@_stringify $arg_counter:tt [$($terminator:tt)*] [$($out:tt)*] -> [$token:tt $($remaining:tt)*] $($rest:tt)*) => {","highlight_start":1,"highlight_end":120},{"text":" _js_impl!( @_stringify $arg_counter [$($terminator)*] [$($out)* (stringify!( $token )) (\" \")] -> [$($remaining)*] $($rest)* )","highlight_start":1,"highlight_end":134},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@stringify [$($flags:tt)*] -> $($rest:tt)*) => {","highlight_start":1,"highlight_end":54},{"text":" _js_impl!( @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":51},{"text":" _js_impl!( @_stringify \"0\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" } else {","highlight_start":1,"highlight_end":17},{"text":" _js_impl!( @_stringify \"1\" [] [] -> [$($rest)*] )","highlight_start":1,"highlight_end":62},{"text":" })","highlight_start":1,"highlight_end":11},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] -> $arg:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":74},{"text":" _js_impl!( @_inc @prelude $arg_counter [$($out)* (\"$\") ($arg_counter) (\" = Module.STDWEB_PRIVATE.to_js($\") ($arg_counter) (\");\")] -> $($rest)* )","highlight_start":1,"highlight_end":153},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@prelude $arg_counter:tt [$($out:tt)*] ->) => {","highlight_start":1,"highlight_end":53},{"text":" concat!( $(concat! $out),* )","highlight_start":1,"highlight_end":37},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if no_return in [no_return $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":99},{"text":" $($true_case)*","highlight_start":1,"highlight_end":23},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":81},{"text":" $($false_case)*","highlight_start":1,"highlight_end":24},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@if $condition:tt in [$token:tt $($rest:tt)*] {$($true_case:tt)*} else {$($false_case:tt)*}) => {","highlight_start":1,"highlight_end":103},{"text":" _js_impl!( @if $condition in [$($rest)*] {$($true_case)*} else {$($false_case)*} );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@serialize [] [$($names:tt)*]) => {};","highlight_start":1,"highlight_end":43},{"text":" (@serialize [$arg:tt $($rest_args:tt)*] [$name:tt $($rest_names:tt)*]) => {","highlight_start":1,"highlight_end":80},{"text":" let $name = $arg;","highlight_start":1,"highlight_end":26},{"text":" let $name = $crate::private::IntoNewtype::into_newtype( $name );","highlight_start":1,"highlight_end":73},{"text":" let mut $name = Some( $name );","highlight_start":1,"highlight_end":39},{"text":" let $name = $crate::private::JsSerializeOwned::into_js_owned( &mut $name );","highlight_start":1,"highlight_end":84},{"text":" let $name = &$name as *const _;","highlight_start":1,"highlight_end":40},{"text":" _js_impl!( @serialize [$($rest_args)*] [$($rest_names)*] );","highlight_start":1,"highlight_end":68},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call_emscripten [$code:expr] [] [$($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":64},{"text":" __js_raw_asm!( $code );","highlight_start":1,"highlight_end":32},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" // Autogenerated with the following Ruby script:","highlight_start":1,"highlight_end":53},{"text":" // args, names, params = [], [], []","highlight_start":1,"highlight_end":40},{"text":" // 1.upto( 16 ) do |nth|","highlight_start":1,"highlight_end":29},{"text":" // args << \"$a#{nth}:tt\"","highlight_start":1,"highlight_end":33},{"text":" // names << \"$a#{nth}_name:tt\"","highlight_start":1,"highlight_end":39},{"text":" // params << \"$a#{nth}_name\"","highlight_start":1,"highlight_end":37},{"text":" // puts \"(@call_emscripten [$code:expr] [#{args.join ' '}] [#{names.join ' '} $($arg_names:tt)*]) => {\"","highlight_start":1,"highlight_end":112},{"text":" // puts \" __js_raw_asm!( $code, #{params.join ', '} );\"","highlight_start":1,"highlight_end":67},{"text":" // puts \"};\"","highlight_start":1,"highlight_end":21},{"text":" // end","highlight_start":1,"highlight_end":11},{"text":" (@call_emscripten [$code:expr] [$a1:tt] [$a1_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":82},{"text":" __js_raw_asm!( $code, $a1_name );","highlight_start":1,"highlight_end":42},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt] [$a1_name:tt $a2_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":101},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name );","highlight_start":1,"highlight_end":52},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":120},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name );","highlight_start":1,"highlight_end":62},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":139},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name );","highlight_start":1,"highlight_end":72},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":158},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name );","highlight_start":1,"highlight_end":82},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":177},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name );","highlight_start":1,"highlight_end":92},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":196},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name );","highlight_start":1,"highlight_end":102},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":215},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name );","highlight_start":1,"highlight_end":112},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":234},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name );","highlight_start":1,"highlight_end":122},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":255},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name );","highlight_start":1,"highlight_end":133},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":276},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name );","highlight_start":1,"highlight_end":144},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":297},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name );","highlight_start":1,"highlight_end":155},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":318},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name );","highlight_start":1,"highlight_end":166},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":339},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name );","highlight_start":1,"highlight_end":177},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":360},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name );","highlight_start":1,"highlight_end":188},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":381},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name );","highlight_start":1,"highlight_end":199},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" (@call_emscripten [$code:expr] [$a1:tt $a2:tt $a3:tt $a4:tt $a5:tt $a6:tt $a7:tt $a8:tt $a9:tt $a10:tt $a11:tt $a12:tt $a13:tt $a14:tt $a15:tt $a16:tt $a17:tt] [$a1_name:tt $a2_name:tt $a3_name:tt $a4_name:tt $a5_name:tt $a6_name:tt $a7_name:tt $a8_name:tt $a9_name:tt $a10_name:tt $a11_name:tt $a12_name:tt $a13_name:tt $a14_name:tt $a15_name:tt $a16_name:tt $a17_name:tt $($arg_names:tt)*]) => {","highlight_start":1,"highlight_end":402},{"text":" __js_raw_asm!( $code, $a1_name, $a2_name, $a3_name, $a4_name, $a5_name, $a6_name, $a7_name, $a8_name, $a9_name, $a10_name, $a11_name, $a12_name, $a13_name, $a14_name, $a15_name, $a16_name, $a17_name );","highlight_start":1,"highlight_end":210},{"text":" };","highlight_start":1,"highlight_end":7},{"text":" //","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] ->) => {","highlight_start":1,"highlight_end":65},{"text":" // It'd be nice to put at least some of this inside a function inside the crate,","highlight_start":1,"highlight_end":89},{"text":" // but then it wouldn't work (I tried!) as the string with the code wouldn't be","highlight_start":1,"highlight_end":88},{"text":" // passed as a direct reference to a constant, and Emscripten needs that to actually","highlight_start":1,"highlight_end":93},{"text":" // use the JavaScript code we're passing to it.","highlight_start":1,"highlight_end":56},{"text":" {","highlight_start":1,"highlight_end":10},{"text":" if cfg!( test ) {","highlight_start":1,"highlight_end":30},{"text":" $crate::initialize();","highlight_start":1,"highlight_end":38},{"text":" }","highlight_start":1,"highlight_end":14},{"text":"","highlight_start":1,"highlight_end":1},{"text":" let restore_point = $crate::private::ArenaRestorePoint::new();","highlight_start":1,"highlight_end":75},{"text":" _js_impl!( @serialize [$($args)*] [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15] );","highlight_start":1,"highlight_end":105},{"text":"","highlight_start":1,"highlight_end":1},{"text":" #[allow(unused_unsafe, unused_parens)]","highlight_start":1,"highlight_end":51},{"text":" let result = unsafe {","highlight_start":1,"highlight_end":34},{"text":" _js_impl!(","highlight_start":1,"highlight_end":27},{"text":" @if no_return in [$($flags)*] {","highlight_start":1,"highlight_end":52},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!( _js_impl!( @prelude \"0\" [] -> $($args)* ), $code )]","highlight_start":1,"highlight_end":90},{"text":" [$($args)*]","highlight_start":1,"highlight_end":40},{"text":" [a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":84},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" } else {{","highlight_start":1,"highlight_end":30},{"text":" let mut result: $crate::private::SerializedValue = ::std::default::Default::default();","highlight_start":1,"highlight_end":111},{"text":" _js_impl!(","highlight_start":1,"highlight_end":35},{"text":" @call_emscripten","highlight_start":1,"highlight_end":45},{"text":" [concat!(","highlight_start":1,"highlight_end":38},{"text":" _js_impl!( @prelude \"1\" [] -> $($args)* ),","highlight_start":1,"highlight_end":75},{"text":" \"Module.STDWEB_PRIVATE.from_js($0, (function(){\", $code, \"})());\"","highlight_start":1,"highlight_end":98},{"text":" )]","highlight_start":1,"highlight_end":31},{"text":" [RESULT $($args)*]","highlight_start":1,"highlight_end":47},{"text":" [(&mut result as *mut _) a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15]","highlight_start":1,"highlight_end":108},{"text":" );","highlight_start":1,"highlight_end":27},{"text":" result.deserialize()","highlight_start":1,"highlight_end":45},{"text":" }}","highlight_start":1,"highlight_end":23},{"text":" )","highlight_start":1,"highlight_end":18},{"text":" };","highlight_start":1,"highlight_end":15},{"text":"","highlight_start":1,"highlight_end":1},{"text":" ::std::mem::drop( restore_point );","highlight_start":1,"highlight_end":47},{"text":" result","highlight_start":1,"highlight_end":19},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> { $($inner:tt)* } $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> ( $($inner:tt)* ) $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> [ $($inner:tt)* ] $($rest:tt)*) => {","highlight_start":1,"highlight_end":96},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($inner)* $($rest)* );","highlight_start":1,"highlight_end":86},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> @{$arg:expr} $($rest:tt)*) => {","highlight_start":1,"highlight_end":91},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)* $arg] -> $($rest)* );","highlight_start":1,"highlight_end":80},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"","highlight_start":1,"highlight_end":1},{"text":" (@call [$code:expr, [$($flags:tt)*]] [$($args:tt)*] -> $token:tt $($rest:tt)*) => {","highlight_start":1,"highlight_end":88},{"text":" _js_impl!( @call [$code, [$($flags)*]] [$($args)*] -> $($rest)* );","highlight_start":1,"highlight_end":75},{"text":" };","highlight_start":1,"highlight_end":7},{"text":"}","highlight_start":1,"highlight_end":2}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[{"message":"consider adding a `#![recursion_limit=\"1024\"]` attribute to your crate (`yew`)","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m: recursion limit reached while expanding `_js_impl!`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m/opt/rustwide/cargo-home/git/checkouts/yew-cffb4df3674cc4fb/33ebfcb/src/services/fetch.rs:222:18\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m222\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m let handle = js! {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m__________________^\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m223\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m var body = @{body};\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m224\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m if (@{binary} && body != null) {\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m225\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m body = Uint8Array.from(body);\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m...\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m272\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m return handle;\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m273\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m };\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m|_____^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mhelp\u001b[0m\u001b[0m: consider adding a `#![recursion_limit=\"1024\"]` attribute to your crate (`yew`)\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: this error originates in the macro `_js_impl` (in Nightly builds, run with -Z macro-backtrace for more info)\u001b[0m\n\n"}} [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yew` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "d0f9c422f17ab8eee04769652ea92bc093ec09408145bfe8abdc156736dce7ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f9c422f17ab8eee04769652ea92bc093ec09408145bfe8abdc156736dce7ee", kill_on_drop: false }` [INFO] [stdout] d0f9c422f17ab8eee04769652ea92bc093ec09408145bfe8abdc156736dce7ee