Added Documentation
This commit is contained in:
@@ -8,11 +8,35 @@
|
||||
|
||||
#import "MPExpressionTreeElement.h"
|
||||
|
||||
|
||||
|
||||
@class MPSummand, MPOperatorChain, MPProduct;
|
||||
|
||||
|
||||
/*!
|
||||
@class MPSummand
|
||||
@brief A summand is a part of an expression that consists of a list of
|
||||
addition and subtraction operators and a product.
|
||||
*/
|
||||
@interface MPSummand : NSObject <MPExpressionTreeElement>
|
||||
|
||||
|
||||
/*!
|
||||
@property operatorChain
|
||||
@brief The summand's preceeding operators.
|
||||
|
||||
@discussion The operator chain is interpreted as a factor for the @c product
|
||||
property of the summand during evaluation.
|
||||
*/
|
||||
@property (readonly, nonatomic, strong) MPOperatorChain *operatorChain;
|
||||
|
||||
|
||||
/*!
|
||||
@property product
|
||||
@brief The summand's product.
|
||||
|
||||
@discussion The product is the @em value of a summand.
|
||||
*/
|
||||
@property (readonly, nonatomic, strong) MPProduct *product;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user