30 #ifndef AMATH_LANGUAGE_BASE_H 31 #define AMATH_LANGUAGE_BASE_H 33 #include "lib/charval.h" 34 #include "main/symbol.h" 37 #include "loc/ident.h" 38 #include "loc/kword.h" 50 virtual bool CharIsAlNum(
unsigned long character) = 0;
51 virtual bool CharIsAlpha(
unsigned long character) = 0;
52 virtual bool CharIsDigit(
unsigned long character) = 0;
53 virtual bool CharIsPunct(
unsigned long character) = 0;
54 virtual bool CharIsSpace(
unsigned long character) = 0;
55 virtual bool CharIsCntrl(
unsigned long character) = 0;
60 virtual bool StrIsEqualLoc(
const char* s1,
const char* s2) = 0;
virtual bool CharIsSpace(unsigned long character)=0
char * UntagText(const char *text)
virtual char * Translate(identhelpdef *def)=0
virtual char * Translate(helptextdef *def)=0
virtual bool CharIsBlank(unsigned long character)
virtual bool CharIsAlNum(unsigned long character)=0
Symbol FindKeyword(const char *ident) const
virtual bool CharIsAlpha(unsigned long character)=0
virtual bool CharIsPunct(unsigned long character)=0
virtual bool Validate(char c)=0
virtual char GetFractionPoint()=0
char * FindAlias(const char *ident) const
Character representation of keyword tied with its symbol.
char * GetHelpText(Symbol symbol)
virtual bool StrIsEqualLoc(const char *s1, const char *s2)=0
virtual bool CharIsQuote(unsigned long character)
void SetAnsiMode(bool value)
virtual bool CharIsNewLine(unsigned long character)
virtual bool CharIsDigit(unsigned long character)=0
virtual bool CharIsCntrl(unsigned long character)=0
unsigned int keywordcount
char * GetHelpText(char *ident)
virtual char * Translate(textdef *def)=0
virtual bool CharIsOperator(unsigned long character)