PostfixStatement class documentation

Authors

Generated by rh

Software documentation for the PostfixStatement class

PostfixStatement : NSObject

Declared in:
PostfixStatement.h
A simple class with just one class method that converts an infix expression to a postfix expression
Method summary

expressionFromInfixExpression: 

+ (NSString*) expressionFromInfixExpression: (NSString*)infixExpression;

Creates a postfix expression string from an infix expression string.

Infix expressions need to conform to the following grammar:

Statement = [identifier '='] Expression
Expression = Term {'+'|'-' Term}
Term = Factor ['*'|'/' Factor]
Factor = number | identifier | '(' Expression ')'