Reorganized File Structure
Added Documentation
This commit is contained in:
35
MathKit/MPParenthesisFunction.h
Normal file
35
MathKit/MPParenthesisFunction.h
Normal file
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// MPParenthesisFunction.h
|
||||
// MathPad
|
||||
//
|
||||
// Created by Kim Wittenburg on 17.09.14.
|
||||
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MPFunction.h"
|
||||
|
||||
|
||||
|
||||
@class MPParenthesisFunction, MPExpression;
|
||||
|
||||
|
||||
/*!
|
||||
@class MPParenthesisFunction
|
||||
@brief A parenthesis function encapsulates a single expression and thus
|
||||
prioritizes it in evaluation.
|
||||
|
||||
@discussion Prioritizing the expression means that the complete expression
|
||||
must be evaluated 'as is'. No part of it can be 'used' elsewhere
|
||||
before the parenthesis function has been evaluated.
|
||||
*/
|
||||
@interface MPParenthesisFunction : MPFunction
|
||||
|
||||
/*!
|
||||
@property expression
|
||||
@brief The expression encapsulated by the parenthesis.
|
||||
|
||||
@discussion The expression must not define a variable.
|
||||
*/
|
||||
@property (nonatomic, strong) MPExpression *expression;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user