CRSTextReader
Objective-C
@interface CRSTextReader : NSObjectSwift
class CRSTextReader : NSObjectRead through text string
- 
                  
                  Parameter name DeclarationObjective-C @property (nonatomic) BOOL includeQuotes;Swift var includeQuotes: Bool { get set }
- 
                  
                  Initialize DeclarationObjective-C + (CRSTextReader *)createWithText:(NSString *)text;Swift class func create(withText text: String!) -> CRSTextReader!Parameterstexttext Return Valuenew text reader 
- 
                  
                  Initialize DeclarationObjective-C + (CRSTextReader *)createWithText:(NSString *)text andIncludeQuotes:(BOOL)includeQuotes;Swift class func create(withText text: String!, andIncludeQuotes includeQuotes: Bool) -> CRSTextReader!Parameterstexttext includeQuotesinclude quotes Return Valuenew text reader 
- 
                  
                  Initialize DeclarationObjective-C - (instancetype)initWithText:(NSString *)text;Swift init!(text: String!)Parameterstexttext Return Valuenew text reader 
- 
                  
                  Initialize DeclarationObjective-C - (instancetype)initWithText:(NSString *)text andIncludeQuotes:(BOOL)includeQuotes;Swift init!(text: String!, andIncludeQuotes includeQuotes: Bool)Parameterstexttext includeQuotesinclude quotes Return Valuenew text reader 
- 
                  
                  Get the text DeclarationObjective-C - (NSString *)text;Swift func text() -> String!Return Valuetext 
- 
                  
                  Reset the reader DeclarationObjective-C - (void)reset;Swift func reset()
- 
                  
                  Read the next token. Ignores whitespace until a non whitespace character is encountered. Returns a contiguous block of token characters ( [a-z] | [A-Z] | [0-9] | - | . | + | : | _ ) or a non whitespace single character. DeclarationObjective-C - (NSString *)readToken;Swift func readToken() -> String!Return Valuetoken 
- 
                  
                  Peek at the next token without reading past it DeclarationObjective-C - (NSString *)peekToken;Swift func peekToken() -> String!Return Valuenext token 
- 
                  
                  Peek at a token without reading past it DeclarationObjective-C - (NSString *)peekTokenAtNum:(int)num;Swift func peekToken(atNum num: Int32) -> String!Parametersnumnumber of tokens out to peek at Return Valuetoken @throws IOException upon read error 
- 
                  
                  Push a token back onto the read cache DeclarationObjective-C - (void)pushToken:(NSString *)token;Swift func pushToken(_ token: String!)Parameterstokentoken 
- 
                  
                  Read an expected token DeclarationObjective-C - (NSString *)readExpectedToken;Swift func readExpectedToken() -> String!Return Valuetoken 
- 
                  
                  Peek at the next expected token without reading past it DeclarationObjective-C - (NSString *)peekExpectedToken;Swift func peekExpectedToken() -> String!Return Valuenext token 
- 
                  
                  Peek at the next expected token without reading past it DeclarationObjective-C - (NSString *)peekExpectedTokenAtNum:(int)num;Swift func peekExpectedToken(atNum num: Int32) -> String!Parametersnumnumber of tokens out to peek at Return Valuetoken 
- 
                  
                  Read a signed number as a double DeclarationObjective-C - (double)readNumber;Swift func readNumber() -> DoubleReturn Valuesigned double 
- 
                  
                  Read an unsigned number as a double DeclarationObjective-C - (double)readUnsignedNumber;Swift func readUnsignedNumber() -> DoubleReturn Valueunsigned double 
- 
                  
                  Read a signed integer DeclarationObjective-C - (int)readInteger;Swift func readInteger() -> Int32Return Valuesigned integer 
- 
                  
                  Read an unsigned integer DeclarationObjective-C - (int)readUnsignedInteger;Swift func readUnsignedInteger() -> Int32Return Valueunsigned integer 
 View on GitHub
View on GitHub CRSTextReader Class Reference
        CRSTextReader Class Reference