| bossa.syntax.Macro
All known Subclasses: nice.lang.inline.CompOp, nice.lang.inline.ReferenceOp, nice.lang.inline.OptionOr,
Macro | public interface Macro extends gnu.expr.Inlineable(Code) | | A macro.
This interface should be implemented by classes that are used
to implement inlined methods, and that need to do some semantic checking
on their actual arguments.
version: $Date: 2003/04/30 18:55:31 $ author: Daniel Bonniot (bonniot@users.sourceforge.net) |
checkSpecialRequirements | void checkSpecialRequirements(Expression[] arguments)(Code) | | For each call site, this method is called with the actual arguments
of the macro. This can be used to check special requirements on the
arguments that could not be expressed in the type of the macro.
For instance, it might be necessary to check that a certain argument
is assignable if it is modified by the macro.
|
|
|