| object.method(para) | Ada, Beta, C#, C++, Cecil, CoffeeScript, Delphi-Kylix, E, Eiffel, F#, Icon, Java, JavaScript, merd, Modula-3, MSH, Perl6, Python, Ruby, Sather, Visual Basic |
| object#method para | OCaml |
| object:method(para) | Lua |
| object method(para) | Io |
| object method para | Pliant, Tcl |
| object method: para1 method_continuation: para2 | Smalltalk |
| object <- method(para)(1) | E |
| [ object method: para ] | Objective-C |
| object->method(para) | C++, Perl, PHP, Pike |
| object["method"](para) | Pike |
| object/method para | Rebol |
| method object para | Haskell, Mercury |
| (method object para) | Common Lisp |
| method(object, para) | Ada, Dylan, Matlab |
| para->method | Beta |
| (send object method para) | MzScheme |
with no parameter
| object.method | Ada, Eiffel, F#, merd, Perl6, Ruby |
| object.property(2) | C# |
| object.method() | C#, C++, CoffeeScript, E, Java, JavaScript, Python |
| object#method | OCaml |
| object:method | Pliant |
| object->method | Perl |
| object->method() | PHP5, Pike |
| object/method | Rebol |
| object["method"]() | Pike |
| object method | Io, Smalltalk |
| [ object method ] | Objective-C |
| method object | Haskell, Mercury |
| (method object) | Common Lisp |
| method(object) | Ada, Dylan, Matlab |
| (send object method) | MzScheme |
| new | PHP, Pliant, Simula |
| new class_name(...) | C#, C++, CoffeeScript, F#, Java, JavaScript, Perl, PHP, Visual Basic |
| new class_name ... | CoffeeScript, OCaml |
| class_name.new(...) | Perl6, Ruby |
| class_name new | Smalltalk |
| class_name(...) | F#, Matlab, Pike, Python |
| class_name v(...) | C++ |
| v : class_name | Ada |
| class_name.Create | Delphi-Kylix |
| !class_name!constructor_name(...) | Eiffel |
| & | Beta |
| make-object | MzScheme |
| (make-instance class_name ...) | Common Lisp |
| [class_name alloc] | Objective-C |
| make class_name! ... | Rebol |
| def object_name { ... } | E |
| o.clone | Perl6 |
| o.clone(3) | Eiffel, Ruby |
| o.deep_clone | Eiffel |
| o.clone() | Java |
| o.Clone() | C# |
| clone $o | PHP5 |
| o clone | Io |
| clone / copy or deepCopy | Smalltalk |
| Storable::dclone | Perl |
| [o copy] | Objective-C |
| copy.copy(o)(4) | Python |
| purecopy | Emacs Lisp |
| {< >} or Oo.copy o | OCaml |
| o2 = o(5) | C++, Matlab, PHP |
| $o2 = $o | PHP |
| o2.all := o.all | Ada |
| make o [] | Rebol |
| o_ : T'Class := o(6) | Ada |
| delete | C++, JavaScript |
| destroy | Pike |
| DESTROY | Perl |
| dealloc | Objective-C |
| Dispose | C#, F# |
| del, __del__ | Python |
| __destruct | PHP5 |
| Requires instantiation of Ada.Unchecked_Deallocation | Ada |
| class | C#, C++, CoffeeScript, Haskell, Java, Matlab, MzScheme, OCaml, Perl6, PHP, Pike, Python, Ruby |
| class c inherit p1 p2 ... feature decl decl ... end | Eiffel |
| defclass defstruct | Common Lisp |
| subclass | Smalltalk |
| struct | C++ |
| type | Pliant |
| type c is tagged record ... end record(7) | Ada |
| @interface c { ... } ... @end | Objective-C |
| : | Beta |
| type c() = class ... end | F# |
type c() = ... | F# |
| isa | Matlab, Perl |
| is_a? kind_of? | Ruby |
| o.meta.isa | Perl6 |
| isKindOf(8) | Smalltalk |
| isKindOfClass | Objective-C |
| dynamic_cast | C++ |
| instanceof | CoffeeScript, Java, JavaScript, PHP5 |
| isinstance | Python |
| in | Ada |
| is | C# |
| is_a | PHP |
| :? | F# |
| Program.inherits or Program.implements | Pike |
| entry_type | Pliant |
| typep | Common Lisp |
| ISTYPE | Modula-3 |
| object## < classname## | Beta |
| type.accepts(object) / object =~ v : type | E |
| var ?= val(9) | Eiffel |
| class | Matlab, Objective-C, Ruby, Smalltalk |
| __class__ | Python |
| getClass | Java |
| get_class | PHP |
| GetType | F# |
| typeid | C++ |
| typeof | C#, CoffeeScript, JavaScript |
| type-of | Common Lisp |
| type | Io |
| ref | Perl |
| generator | Eiffel |
| meta | Perl6 |
| object_program | Pike |
| getAllegedType | E |
| methods | Matlab, Ruby |
| get_class_methods | PHP |
| getMethods | Java |
| get-member | MSH |
| indices | Pike |
| o.meta.getmethods | Perl6 |
| dir | Python |
| slotNames | Io |
| o.GetType().GetMethods() | F# |
| o class selectors / o class allSelectors | Smalltalk |
| o.__getAllegedType().getMessageTypes() | E |
| child :< parent | Beta |
| class child : parent | C#, C++ |
| class child < parent end | Ruby |
| class child is parent { ... } | Perl6 |
| class child extends parent | CoffeeScript, Java, PHP5 |
| class child(parent): | Python |
| class child inherit parent end | Eiffel |
| parent subclass: child | Smalltalk |
| make parent ... | Rebol |
| inherit | OCaml, Pike |
| def child extends makeSuperObject(parent, ...) { ... } | E |
| type child is new parent with record ... end record | Ada |
type child = inherit parent ... | F# |
| (defclass child (parent) ...) | Common Lisp |
| @interface child : parent { ... } ... @end | Objective-C |
| @ISA = qw(parent1 parent2) | Perl |
| clone , setProtos, setProto, prependProto, appendProto | Io |
| instance Parent Child where ... | Haskell |
| can | Perl, Perl6 |
| respond_to? | Ruby |
| respondsTo | E, Smalltalk |
| respondsToSelector | Objective-C |
| hasattr(obj, "meth")(10) | Python |
| object->method | Pike |
| all [in object 'method function? get in object 'method] | Rebol |
| find-method | Common Lisp |
| ismethod | Matlab |
| hasSlot | Io |
| try obj.GetType().GetMethod("meth") with ... | F# |
| obj.meth? instanceof Function | CoffeeScript |
| method_exists | PHP5 |
| this | Beta, C#, C++, CoffeeScript, Java, JavaScript, PHP, Pike |
| THIS | Simula |
| self | Io, Objective-C, Rebol, Ruby, Smalltalk |
| object_name if defined as: def object_name { ... } | E |
| Current | Eiffel |
| first parameter(11) | Matlab, Perl, Pliant, Python |
| the object variable | F# |
| dispatching parameter | Ada, Common Lisp |
| Me | Visual Basic |
| . | Perl6 |
| super | CoffeeScript, E, Java, Objective-C, Ruby, Smalltalk |
| super(Class, self).meth(args) | Python |
| base | C# |
| resend | Io |
| Precursor | Eiffel |
| $o.SUPER::method(...) | Perl6 |
| $o->SUPER::method(...) | Perl |
| method(parent(dispatching-parameter)) | Ada |
| parent(dispatching-parameter).method | Ada |
| parent::method | PHP5 |
| call-next-method | Common Lisp |
type foo2 = inherit foo as parent ... member ... = ... parent.meth | F# |
| inner | Beta |
