Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Language reference > Templates > Tags > <invoke>

<invoke>

  <invoke 
    [ params="expr-listparameters" | ( param="exprparam" ) * ]
    method="symbolmethod" 
    from="exprself" 
    [ super ] >

An ``invokeยดยด tag does one of following:

  • It invokes method from instance (from and method given).
  • It invokes a super class method (super and method given).
  • It invokes a super class constructor (super given).
In all cases parameters are taken either from params attribute or from all of the param attributes.

Attributes:

from
Expression yielding the instance to invoke from.
method
Name of method to invoke.
super
Flag indicating that this invoke is a super class invoke (exclusive with from)
param
Expression yielding single parameter. There may be more than one of these as they are joined together in the order of appearance, creating a parameter list. Mutually exclusive with params.
params
List of expressions yielding the whole parameter list. Mutually exclusive with param.

See also  | Tags  | Statement tags
What's new | Anvil