FSOperator


Inherits From:
FSExpression
Declared In:
FSOperator.h


Class Description

FSOperator is an abstract superclass for all FSExpression elements that are operators. An operator is a function that does not require parenthesis but stands between it's operands.


Defined Types

Synopsis:

typedef enum _FSOperatorTier {    
    FSFirstOperatorTier = 0,
    FSDefaultOperatorTier = FSFirstOperatorTier,
    FSAddOperatorTier,
    FSMultOperatorTier,
    FSRangeOperatorTier,
    FSMaxOperatorTier = FSRangeOperatorTier
} FSOperatorTier;


Instance Variables

FSExpression *_firstArgument;
FSExpression *_secondArgument;

_firstArgumentNo description.
_secondArgumentNo description.


Method Types

+ registerOperator:
+ allOperatorSymbols
+ operatorClassForSymbol:
+ operatorTier
+ rtfdHelpData
+ operatorSymbol
+ operatorWithArguments:


Class Methods

allOperatorSymbols

+ (NSArray*)allOperatorSymbols

No method description.


operatorClassForSymbol:

+ (Class)operatorClassForSymbol:(NSString*)symbol

No method description.


operatorSymbol

+ (NSString*)operatorSymbol

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


operatorTier

+ (FSOperatorTier)operatorTier

No method description.


operatorWithArguments:

+ (FSOperator*)operatorWithArguments:(NSArray*)arguments

No method description.


registerOperator:

+ (void)registerOperator:(Class)operatorClass

No method description.


rtfdHelpData

+ (NSData*)rtfdHelpData

No method description.


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