FSFunction


Inherits From:
FSExpression
Declared In:
FSFunction.h


Class Description

FSFunction is an abstract superclass for all FSExpression elements that represent a function, ie a name with arguments in parenthesis.


Method Types

+ registerFunction:
+ allFunctionNames
+ functionClassForName:
+ rtfdHelpData
+ functionName
+ numberOfOperands
+ functionWithArguments:


Class Methods

allFunctionNames

+ (NSArray*)allFunctionNames

No method description.


functionClassForName:

+ (Class)functionClassForName:(NSString*)name

No method description.


functionName

+ (NSString*)functionName

Must be overwritten in subclasses. FSOperator's implementation raises, so don't call it in the subclass implementation!


functionWithArguments:

+ (FSFunction*)functionWithArguments:(NSArray*)arguments

Must be overwritten in subclasses. FSOperator's implementation raises, so don't call it in the subclass implementation!


numberOfOperands

+ (int)numberOfOperands

Must be overwritten in subclasses. FSOperator's implementation raises, so don't call it in the subclass implementation!


registerFunction:

+ (void)registerFunction:(Class)functionClass

No method description.


rtfdHelpData

+ (NSData*)rtfdHelpData

No method description.


Version 1.1 Copyright ©2001 by Stefan Leuker. All Rights Reserved.