intarsys runtime library

de.intarsys.tools.functor
Class ArgumentDeclarator

java.lang.Object
  extended by de.intarsys.tools.functor.ArgumentDeclarator

public class ArgumentDeclarator
extends Object

An argument declaration strategy that modifies its input IArgs according to the IDeclaration.

Every ArgumentDeclaration instance is applied to the input args.

The ArgumentDeclarator knows three declaration "modes".


Constructor Summary
ArgumentDeclarator()
           
ArgumentDeclarator(boolean strict, boolean lazy)
           
 
Method Summary
 IArgs apply(IDeclarationBlock declarationBlock, IArgs args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgumentDeclarator

public ArgumentDeclarator()

ArgumentDeclarator

public ArgumentDeclarator(boolean strict,
                          boolean lazy)
Method Detail

apply

public IArgs apply(IDeclarationBlock declarationBlock,
                   IArgs args)
            throws DeclarationException
Throws:
DeclarationException

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.