Added Lots of Documentation
Added some nice to haves Improved and Unified General Code Layout
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
|
||||
/*!
|
||||
@header
|
||||
This file contains the <code>MPToken</code> class and protocol.
|
||||
|
||||
One way to represent a mathematical expression using the <code>@link
|
||||
MPExpression@/link</code> class is a sequence of tokens. A token is a logical
|
||||
unit of input. The different types of units are identified by a @link
|
||||
@@ -30,10 +32,6 @@ while ((token = [self nextToken]).tokenType != MPEOFToken) {
|
||||
*/
|
||||
|
||||
|
||||
@class MPToken;
|
||||
@protocol MPToken;
|
||||
|
||||
|
||||
/*!
|
||||
@typedef MPTokenType
|
||||
@abstract The type of a token identifies its behaviour in a mathematical
|
||||
@@ -103,6 +101,10 @@ typedef enum {
|
||||
|
||||
|
||||
|
||||
@class MPToken;
|
||||
@protocol MPToken;
|
||||
|
||||
|
||||
/*!
|
||||
@protocol MPToken
|
||||
@abstract Tokens represent logical units in an expresion.
|
||||
|
||||
Reference in New Issue
Block a user