You searched for: actionscript (Engelska - Hebreiska)

Engelska

Översätt

actionscript

Översätt

Hebreiska

Översätt
Översätt

Översätt texter, dokument och röst direkt med Lara

Översätt nu

Mänskliga bidrag

Från professionella översättare, företag, webbsidor och fritt tillgängliga översättningsdatabaser.

Lägg till en översättning

Engelska

Hebreiska

Info

Engelska

actionscript

Hebreiska

actionscript

Senast uppdaterad: 2013-01-14
Användningsfrekvens: 1
Kvalitet:

Referens: Wikipedia

Engelska

actionscript 2.0

Hebreiska

actionscript 2. 0language

Senast uppdaterad: 2011-10-23
Användningsfrekvens: 1
Kvalitet:

Referens: Wikipedia

Engelska

===ecmascript===the following is an example in ecmascript, and therefore also applies to javascript and actionscript:===java===the following is an example in java:===objective-c===the following is an example in objective-c—implying either the openstep or foundation kit framework is used:===perl===the following is an example in perl:# without reflectionmy $foo = foo->new;$foo->hello;# orfoo->new->hello;# with reflectionmy $class = "foo"my $constructor = "new";my $method = "hello";my $f = $class->$constructor;$f->$method;# or$class->$constructor->$method;# with evaleval "new foo->hello;";===php===the following is an example in php:// without reflection$foo = new foo();$foo->hello();// with reflection$reflector = new reflectionclass('foo');$foo = $reflector->newinstance();$hello = $reflector->getmethod('hello');$hello->invoke($foo);// using callback$foo = new foo();call_user_func(array($foo, 'hello'));// using variable variables syntax$classname = 'foo';$foo = new $classname();$method = 'hello';$foo->$method();===python===the following is an example in python:# without reflectionobj = foo()obj.hello()# with reflectionclass_name = "foo"method = "hello"obj = globals()()getattr(obj, method)()# with evaleval("foo().hello()")===r===the following is an example in r:===ruby===the following is an example in ruby:# without reflectionobj = foo.newobj.hello# with reflectionclass_name = "foo"method = :helloobj = kernel.const_get(class_name).newobj.send method# with evaleval "foo.new.hello"==see also==*type introspection*self-modifying code*self-hosting*programming paradigms*list of reflective programming languages and platforms*mirror (programming)==references==notesdocuments* jonathan m. sobel and daniel p. friedman.

Hebreiska

=== java ====== javascript ====== php ===// without reflection$foo = new foo();$foo->hello();// with reflection$reflector = new reflectionclass('foo');$foo = $reflector->newinstance();$hello = $reflector->getmethod('hello');$hello->invoke($foo);// using callback$foo = new foo();call_user_func(array($foo, 'hello'));// using variable variables syntax$classname = 'foo';$foo = new $classname();$method = 'hello';$foo->$method();=== ruby ===# without reflectionobj = foo.newobj.hello# with reflectionclass_name = "foo"method = :helloobj = kernel.const_get(class_name).newobj.send method=== objective-c ===// foo class@interface foo : nsobject- (void)hello;@end// without reflectionfoo *obj = [alloc init];hello;// with reflection in openstep, loading class and call method using variables.

Senast uppdaterad: 2016-03-03
Användningsfrekvens: 2
Kvalitet:

Referens: Wikipedia
Varning: Innehåller osynlig HTML-formatering

Få en bättre översättning med
10,388,471,977 mänskliga bidrag

Användare ber nu om hjälp:



Vi använder cookies för att förbättra din upplevelse. Genom att fortsätta besöka den här webbplatsen godkänner du vår användning av cookies. Läs mer. OK