검색어: actionscript (영어 - 히브리어)

인적 기여

전문 번역가, 번역 회사, 웹 페이지 및 자유롭게 사용할 수 있는 번역 저장소 등을 활용합니다.

번역 추가

영어

히브리어

정보

영어

actionscript

히브리어

actionscript

마지막 업데이트: 2013-01-14
사용 빈도: 1
품질:

추천인: Wikipedia

영어

actionscript 2.0

히브리어

actionscript 2. 0language

마지막 업데이트: 2011-10-23
사용 빈도: 1
품질:

추천인: Wikipedia

영어

===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.

히브리어

=== 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.

마지막 업데이트: 2016-03-03
사용 빈도: 2
품질:

추천인: Wikipedia
경고: 보이지 않는 HTML 형식이 포함되어 있습니다

인적 기여로
8,874,658,731 더 나은 번역을 얻을 수 있습니다

사용자가 도움을 필요로 합니다:



당사는 사용자 경험을 향상시키기 위해 쿠키를 사용합니다. 귀하께서 본 사이트를 계속 방문하시는 것은 당사의 쿠키 사용에 동의하시는 것으로 간주됩니다. 자세히 보기. 확인