JTL
LKCompilerDelegate <NSObject>Default
- - (BOOL) compiler: (LKCompiler *)aCompiler generatedWarning: (NSString *)aWarning details: (NSDictionary *)info
Indicates that the specified compiler has encountered a recoverable problem. The delegate should return YES if the compiler should attempt to continue. Extra information about this warning may be found in the info dictionary. All warnings must contain a human readable description identified by the key kLKHumanReadableDesciption, specific warnings may contain other information. See the LKCompilerErrors.h file for more information.
- - (BOOL) compiler: (LKCompiler *)aCompiler generatedError: (NSString *)anError details: (NSDictionary *)info
Indicates that the specified compiler has encountered an unrecoverable problem. Extra information about this error may be found in the info dictionary. All errors must contain a human readable description identified by the key kLKHumanReadableDescription, specific errors may contain other information. See the LKCompilerErrors.h file for more information.
In normal circumstances, errors are unrecoverable. A delegate may perform some manipulation on the AST to eliminate the error, however. In this case, the delegate should return YES, causing the semantic analysis to be retried.