Sha256: 34bc5ee1bf2c8b17df81e7a8aedbe49fa43da3a57e5838bb01aae64926b6e802

Contents?: true

Size: 1.67 KB

Versions: 9

Compression:

Stored size: 1.67 KB

Contents

#import <Foundation/Foundation.h>
@class GHLocation;
@class GHToken;

@interface GHParserException : NSException

@property (nonatomic, readonly) GHLocation  * location;

@end

@interface GHAstBuilderException : GHParserException

- (id)initWithMessage:(NSString *)theMessage;
- (id)initWithMessage:(NSString *)theMessage location:(GHLocation *)theLocation;

@end

@interface GHNoSuchLanguageException : GHParserException

- (id)initWithLanguage:(NSString *)theLanguage location:(GHLocation *)theLocation;

@end

@interface GHTokenParserException : GHParserException

- (id)initWithMessage:(NSString *)theMessage token:(GHToken *)theToken;

@end

@interface GHUnexpectedTokenException : GHTokenParserException

@property (nonatomic, readonly) NSString            * stateComment;
@property (nonatomic, readonly) GHToken             * receivedToken;
@property (nonatomic, readonly) NSArray<NSString *> * expectedTokenTypes;

- (id)initWithToken:(GHToken *)theReceivedToken expectedTokenTypes:(NSArray<NSString *> *)theExpectedTokenTypes stateComment:(NSString *)theStateComment;

@end

@interface GHUnexpectedEOFException : GHTokenParserException

@property (nonatomic, readonly) NSString            * stateComment;
@property (nonatomic, readonly) NSArray<NSString *> * expectedTokenTypes;

- (id)initWithToken:(GHToken *)theReceivedToken expectedTokenTypes:(NSArray<NSString *> *)theExpectedTokenTypes stateComment:(NSString *)theStateComment;

@end

@interface GHCompositeParserException : GHParserException

@property (nonatomic, readonly) NSArray<GHParserException *>    * errors;

- (id)initWithErrors:(NSArray<GHParserException *> *)theErrors;

@end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
xcfit-2.0.6 XCFit/Classes/Cucumberish/Dependencies/Gherkin/GHParserException.h
xcfit-0.9.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHParserException.h
xcfit-0.8.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHParserException.h
xcfit-0.7.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHParserException.h
xcfit-0.6.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHParserException.h
xcfit-0.5.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHParserException.h
xcfit-0.4.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHParserException.h
xcfit-0.3.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHParserException.h
xcfit-0.2.0 XCFitDemo/XCFitDemoCucumberishTests/Cucumberish/Dependencies/Gherkin/GHParserException.h