pnuts.lang
Interface AbstractData

All Superinterfaces:
Property
All Known Implementing Classes:
ClassGenerator.SuperCallProxy

public interface AbstractData
extends Property

Method call of an object implements this interface causes a call of the invoke() method. See Pnuts Language Specification.

Version:
1.1

Method Summary
 java.lang.Object invoke(java.lang.String name, java.lang.Object[] args, Context context)
          Defines the behavior of a method call.
 
Methods inherited from interface pnuts.lang.Property
get, set
 

Method Detail

invoke

java.lang.Object invoke(java.lang.String name,
                        java.lang.Object[] args,
                        Context context)
Defines the behavior of a method call.

Parameters:
name - the method name
args - the arguments
context - the context in which the method is called.
Returns:
the result of the method call