public class ArgumentDeclaration extends DeclarationElement implements IArgumentDeclaration
| Constructor and Description |
|---|
ArgumentDeclaration(java.lang.Object declarationContext,
java.lang.String name,
java.lang.String modifiers,
int index,
IDeclaration[] nestedDeclarations) |
ArgumentDeclaration(java.lang.Object declarationContext,
java.lang.String name,
java.lang.String modifiers,
int index,
IFunctor defaultFunctor) |
| Modifier and Type | Method and Description |
|---|---|
IFunctorCall |
accept(IFunctorCall call)
Apply this declaration to
call. |
protected DeclaredArgs |
createDeclaredArgs(IArgs currentArgs) |
IFunctor |
getDefaultFunctor() |
int |
getIndex() |
getDeclarations, getName, hasModifier, isBlock, size, toStringgetDeclarationContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, hasModifiergetDeclarationContext, isBlockpublic ArgumentDeclaration(java.lang.Object declarationContext,
java.lang.String name,
java.lang.String modifiers,
int index,
IDeclaration[] nestedDeclarations)
public ArgumentDeclaration(java.lang.Object declarationContext,
java.lang.String name,
java.lang.String modifiers,
int index,
IFunctor defaultFunctor)
public IFunctorCall accept(IFunctorCall call) throws DeclarationException
IDeclarationcall.
The semantics of this method is up to the designer.
accept in interface IDeclarationcall - The IFunctorCall to be modified.IFunctorCall.DeclarationExceptionprotected DeclaredArgs createDeclaredArgs(IArgs currentArgs)
public IFunctor getDefaultFunctor()
public int getIndex()