mediawiki-extensions-AbuseF.../parser_native/afparser.h

18 lines
326 B
C
Raw Normal View History

#include "aftypes.h"
#include <vector>
#include "afutils.h"
#ifndef PARSER
#define PARSER
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