mediawiki-extensions-AbuseF.../parser_native/afparser.h
2008-08-07 14:23:49 +00:00

20 lines
354 B
C++
Executable file

#ifndef AFPARSER_H
#define AFPARSER_H
#include "aftypes.h"
#include <vector>
#include "afutils.h"
vector<AFPToken> af_parse( string code );
bool isDigitOrDot( char chr );
bool isValidIdSymbol( char chr );
vector<string> getValidOps();
vector<string> getKeywords();
bool isKeyword( string id );
bool isValidOp( string op );
#endif /* !AFPARSER_H */