Metaobject

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

In computer science, a metaobject is an object that manipulates, creates, describes, or implements objects (including itself). The object that the metaobject pertains to is called the base object. Some information that a metaobject might define includes the base object's type, interface, class, methods, attributes, parse tree, etc. Metaobjects are examples of the computer science concept of reflection, where a system has access (usually at run time) to its own internal structure. Reflection enables a system to essentially rewrite itself on the fly, to alter its own implementation as it executes.

In computer science, a metaobject is an object that manipulates, creates, describes, or implements objects (including itself). The object that the metaobject pertains to is called the base object. Some information that a metaobject might define includes the base object's type, interface, class, methods, attributes, parse tree, etc. Metaobjects are examples of the computer science concept of reflection, where a system has access (usually at run time) to its own internal structure. Reflection enables a system to essentially rewrite itself on the fly, to alter its own implementation as it executes. ==See also== Kind (type theory) Metaclass Javassist Moose Perl meta object system OpenJava Unified Modeling Language: UML Groovy ==References== ==External links== The Guile MOP specification (GOOPS, based on Tiny CLOS) Metaobjects and the Metaobject Protocol Common Lisp Object System Metaobject Protocol (contains two chapters from The Art of the Metaobject Protocol) Python 2.6 Metaprogramming

Text derived from https://en.wikipedia.org/w/index.php?oldid=1374068069 under CC BY-SA 4.0; modifications have been made.