2006-12-26 11:00:33 +00:00
|
|
|
/*
|
|
|
|
** CodeParser.h
|
|
|
|
**
|
2013-09-21 23:22:04 +00:00
|
|
|
** Copyright (c) 2003-2013
|
2006-12-26 11:00:33 +00:00
|
|
|
**
|
|
|
|
** Author: Yen-Ju <yjchenx@hotmail.com>
|
|
|
|
**
|
|
|
|
** This program is free software; you can redistribute it and/or modify
|
|
|
|
** it under the terms of the GNU General Public License as published by
|
|
|
|
** the Free Software Foundation; either version 2 of the License, or
|
|
|
|
** (at your option) any later version.
|
|
|
|
**
|
|
|
|
** This program is distributed in the hope that it will be useful,
|
|
|
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
** GNU General Public License for more details.
|
|
|
|
**
|
|
|
|
** You should have received a copy of the GNU General Public License
|
|
|
|
** along with this program; if not, write to the Free Software
|
2025-01-26 18:09:57 +00:00
|
|
|
** Foundation, Inc., 31 Milk Street #960789 Boston, MA 02196 USA
|
2006-12-26 11:00:33 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CodeParser_H_
|
|
|
|
#define _CodeParser_H_
|
|
|
|
|
2008-12-30 13:47:27 +00:00
|
|
|
#import <Foundation/NSObject.h>
|
|
|
|
#import <Foundation/NSString.h>
|
2006-12-26 11:00:33 +00:00
|
|
|
|
2008-12-30 13:47:27 +00:00
|
|
|
#import <Protocols/CodeParser.h>
|
2006-12-26 11:00:33 +00:00
|
|
|
|
2008-12-30 13:47:27 +00:00
|
|
|
#import "CodeHandler.h"
|
|
|
|
#import "ObjCMethodHandler.h"
|
2006-12-26 11:00:33 +00:00
|
|
|
|
|
|
|
@interface PCParser : NSObject <CodeParser>
|
|
|
|
{
|
|
|
|
id <CodeHandler> _handler;
|
|
|
|
NSString *_string;
|
2013-09-21 23:22:04 +00:00
|
|
|
NSUInteger _length;
|
2006-12-26 11:00:33 +00:00
|
|
|
unichar *_uchar;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (void)parse;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif /* _CodeParser_H_ */
|