Home
last modified time | relevance | path

Searched refs:as_function (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/dports/devel/R-cran-rlang/rlang/man/
H A Das_function.Rd3 \name{as_function}
4 \alias{as_function}
9 as_function(x, env = caller_env())
36 \item \code{as_function()} transforms a one-sided formula into a function.
38 \item \code{as_closure()} first passes its argument to \code{as_function()}. If
46 f <- as_function(~ .x + 1)
49 g <- as_function(~ -1 * .)
52 h <- as_function(~ .x - .y)
57 is_lambda(as_function(function() "foo"))
71 e <- as_function(~ as_label(ensym(.x)))
[all …]
/dports/devel/R-cran-rlang/rlang/tests/testthat/
H A Dtest-fn.R135 expect_identical(as_function("mean"), mean)
138 expect_identical(as_function("fn", env), env$fn)
231 fn <- as_function(quo("foo"))
242 fn <- as_function(quo)
251 out <- as_function(~foo)
292 fn <- as_function(quo(x))
297 f <- as_function(quo(invisible(1)))
300 f <- as_function(quo(1))
303 f <- as_function(~ invisible(1))
306 f <- as_function(~ 1)
[all …]
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/libcore/
H A Das_object.h42 class as_function; variable
63 Trigger(std::string propname, as_function& trig, in Trigger()
108 as_function* _func;
283 void init_property(const std::string& key, as_function& getter,
284 as_function& setter, int flags = DefaultFlags);
317 void init_property(const ObjectURI& uri, as_function& getter,
318 as_function& setter, int flags = DefaultFlags);
377 void init_readonly_property(const std::string& key, as_function& getter,
471 virtual as_function* to_function() { return nullptr; } in to_function()
573 void add_property(const std::string& key, as_function& getter,
[all …]
H A Das_function.h62 class as_function : public as_object
67 virtual ~as_function() {} in ~as_function()
70 virtual as_function* to_function() { return this; } in to_function()
112 as_function(Global_as& gl);
128 as_object* constructInstance(as_function& ctor, const as_environment& env,
H A Das_function.cpp34 as_function::as_function(Global_as& gl) in as_function() function in gnash::as_function
41 as_function::stringValue() const in stringValue()
47 constructInstance(as_function& ctor, const as_environment& env, in constructInstance()
64 as_function::construct(as_object& newobj, const as_environment& env, in construct()
H A DProperty.h35 class as_function; variable
126 GetterSetter(as_function* getter, as_function* setter) in GetterSetter()
171 UserDefinedGetterSetter(as_function* get, as_function* set) in UserDefinedGetterSetter()
232 as_function* _getter;
233 as_function* _setter;
302 as_function* getter, as_function* setter,
H A DTimers.h29 class as_function; variable
75 Timer(as_function& method, unsigned long ms, as_object* this_ptr,
182 as_function* _function;
H A DPropertyList.h41 class as_function; variable
225 bool addGetterSetter(const ObjectURI& uri, as_function& getter,
226 as_function* setter, const as_value& cacheVal,
248 bool addDestructiveGetter(const ObjectURI& uri, as_function& getter,
H A DClassHierarchy.cpp60 class declare_native_function : public as_function
69 as_function(getGlobal(*g)), in declare_native_function()
114 as_function* getter = new declare_native_function(c, mGlobal); in declareClass()
/dports/devel/R-cran-promises/promises/R/
H A Dthen.R114 onFulfilled <- rlang::as_function(onFulfilled)
116 onRejected <- rlang::as_function(onRejected)
132 onRejected <- rlang::as_function(onRejected)
155 onFinally <- rlang::as_function(onFinally)
/dports/emulators/mess/mame-mame0226/3rdparty/sol2/docs/source/api/
H A Das_function.rst1 as_function chapter
9 function_argumants<Sig, Args...> as_function ( Args&& ... );
11 …on>` call instead, but if for some reason one must use ``set``, then ``as_function`` can help ensu…
31 lua.set( "func", sol::as_function( callable() ) );
56 "f", sol::as_function(&B::bvar)
/dports/emulators/mame/mame-mame0226/3rdparty/sol2/docs/source/api/
H A Das_function.rst1 as_function chapter
9 function_argumants<Sig, Args...> as_function ( Args&& ... );
11 …on>` call instead, but if for some reason one must use ``set``, then ``as_function`` can help ensu…
31 lua.set( "func", sol::as_function( callable() ) );
56 "f", sol::as_function(&B::bvar)
/dports/www/osrm-backend/osrm-backend-5.26.0/third_party/sol2/docs/source/api/
H A Das_function.rst1 as_function chapter
9 function_argumants<Sig, Args...> as_function ( Args&& ... );
11 …on>` call instead, but if for some reason one must use ``set``, then ``as_function`` can help ensu…
15 .. literalinclude:: ../../../examples/docs/as_function.cpp
/dports/devel/sol2/sol2-4.0.0-alpha/documentation/source/api/
H A Das_function.rst1 as_function chapter
9 function_argumants<Sig, Args...> as_function ( Args&& ... );
11 …on>` call instead, but if for some reason one must use ``set``, then ``as_function`` can help ensu…
15 .. literalinclude:: ../../../examples/source/docs/as_function.cpp
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/bindgen-0.53.3/src/ir/
H A Ditem_kind.rs61 pub fn as_function(&self) -> Option<&Function> { in as_function() method
70 self.as_function().is_some() in is_function()
76 self.as_function().expect("Not a function") in expect_function()
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/bindgen-0.58.1/src/ir/
H A Ditem_kind.rs61 pub fn as_function(&self) -> Option<&Function> { in as_function() method
70 self.as_function().is_some() in is_function()
76 self.as_function().expect("Not a function") in expect_function()
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/bindgen-0.58.1/src/ir/
H A Ditem_kind.rs61 pub fn as_function(&self) -> Option<&Function> { in as_function() method
70 self.as_function().is_some() in is_function()
76 self.as_function().expect("Not a function") in expect_function()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/bindgen-0.58.1/src/ir/
H A Ditem_kind.rs61 pub fn as_function(&self) -> Option<&Function> { in as_function() method
70 self.as_function().is_some() in is_function()
76 self.as_function().expect("Not a function") in expect_function()
/dports/devel/rust-bindgen/bindgen-0.59.2/src/ir/
H A Ditem_kind.rs61 pub fn as_function(&self) -> Option<&Function> { in as_function() method
70 self.as_function().is_some() in is_function()
76 self.as_function().expect("Not a function") in expect_function()
/dports/databases/redisjson/RedisJSON-2.0.6/cargo-crates/bindgen-0.59.2/src/ir/
H A Ditem_kind.rs61 pub fn as_function(&self) -> Option<&Function> { in as_function() method
70 self.as_function().is_some() in is_function()
76 self.as_function().expect("Not a function") in expect_function()
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/bindgen/src/ir/
H A Ditem_kind.rs61 pub fn as_function(&self) -> Option<&Function> { in as_function() method
70 self.as_function().is_some() in is_function()
76 self.as_function().expect("Not a function") in expect_function()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/bindgen-0.51.1/src/ir/
H A Ditem_kind.rs61 pub fn as_function(&self) -> Option<&Function> { in as_function() method
70 self.as_function().is_some() in is_function()
76 self.as_function().expect("Not a function") in expect_function()
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/bindgen-0.51.1/src/ir/
H A Ditem_kind.rs61 pub fn as_function(&self) -> Option<&Function> { in as_function() method
70 self.as_function().is_some() in is_function()
76 self.as_function().expect("Not a function") in expect_function()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/bindgen-0.51.1/src/ir/
H A Ditem_kind.rs61 pub fn as_function(&self) -> Option<&Function> { in as_function() method
70 self.as_function().is_some() in is_function()
76 self.as_function().expect("Not a function") in expect_function()
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/bindgen-0.56.0/src/ir/
H A Ditem_kind.rs61 pub fn as_function(&self) -> Option<&Function> { in as_function() method
70 self.as_function().is_some() in is_function()
76 self.as_function().expect("Not a function") in expect_function()

12345678910>>...17