|
amath
1.8.5
Simple command line calculator
|
#include <language_stdc.h>


Public Member Functions | |
| StandardLanguage () | |
| ~StandardLanguage () | |
| char | GetFractionPoint () |
| bool | CharIsAlNum (unsigned long character) |
| bool | CharIsAlpha (unsigned long character) |
| bool | CharIsDigit (unsigned long character) |
| bool | CharIsPunct (unsigned long character) |
| bool | CharIsSpace (unsigned long character) |
| bool | CharIsCntrl (unsigned long character) |
| bool | StrIsEqualLoc (const char *s1, const char *s2) |
| bool | Validate (char c) |
Public Member Functions inherited from Language | |
| Language () | |
| virtual | ~Language () |
| char * | GetText (int id) |
| char * | GetHelpText (char *ident) |
| char * | GetHelpText (Symbol symbol) |
| Symbol | FindKeyword (const char *ident) const |
| virtual bool | CharIsQuote (unsigned long character) |
| virtual bool | CharIsBlank (unsigned long character) |
| virtual bool | CharIsNewLine (unsigned long character) |
| virtual bool | CharIsOperator (unsigned long character) |
| void | SetAnsiMode (bool value) |
Public Member Functions inherited from CharValidator | |
| virtual | ~CharValidator () |
Protected Member Functions | |
| char * | Translate (textdef *def) |
| char * | Translate (helptextdef *def) |
| char * | Translate (identhelpdef *def) |
Private Member Functions | |
| void | LoadCatalogs () |
| void | LoadCatalog (char **dest, const char *file) |
| void | GetNextPair (const char **key, const char **value) |
| void | GetNextLine () |
| void | SkipComments () |
Private Attributes | |
| char * | textbase |
| char * | helpbase |
| char * | identbase |
| char * | kwordbase |
| char * | ptr |
| textdef * | textcatalog |
| helptextdef * | helpcatalog |
| identhelpdef * | identcatalog |
Additional Inherited Members | |
Protected Attributes inherited from Language | |
| keyworddef * | keywordsloc |
| unsigned int | keywordcount |
| unsigned int | textcount |
| unsigned int | identcount |
| unsigned int | helpcount |
| unsigned int | aliascount |
Definition at line 41 of file language_stdc.h.
| StandardLanguage::StandardLanguage | ( | ) |
Definition at line 43 of file language_stdc.cpp.
References Language::Language(), and LoadCatalogs().
Referenced by Program::Program().


| StandardLanguage::~StandardLanguage | ( | ) |
|
virtual |
Implements Language.
Definition at line 101 of file language_stdc.cpp.
|
virtual |
Implements Language.
Definition at line 108 of file language_stdc.cpp.
|
virtual |
Implements Language.
Definition at line 129 of file language_stdc.cpp.
|
virtual |
Implements Language.
Definition at line 114 of file language_stdc.cpp.
|
virtual |
Implements Language.
Definition at line 119 of file language_stdc.cpp.
|
virtual |
Implements Language.
Definition at line 124 of file language_stdc.cpp.
|
virtual |
|
private |
Definition at line 225 of file language_stdc.cpp.
References ptr.
Referenced by GetNextPair(), and SkipComments().

|
private |
Definition at line 215 of file language_stdc.cpp.
References GetNextLine(), ptr, and SkipComments().

|
private |
Definition at line 196 of file language_stdc.cpp.
References AllocAndCopy(), CharBuffer::GetString(), FilesystemBase::LoadTextFile(), and ptr.

|
private |
Definition at line 144 of file language_stdc.cpp.
Referenced by StandardLanguage().

|
private |
Definition at line 238 of file language_stdc.cpp.
References GetNextLine(), and ptr.
Referenced by GetNextPair().


|
virtual |
Implements Language.
Definition at line 134 of file language_stdc.cpp.
References StrIsEqual().

|
protectedvirtual |
Implements Language.
Definition at line 72 of file language_stdc.cpp.
References textdef::id, textdef::text, and textcatalog.
|
protectedvirtual |
Implements Language.
Definition at line 80 of file language_stdc.cpp.
References helpcatalog, helptextdef::id, and helptextdef::text.
|
protectedvirtual |
Implements Language.
Definition at line 88 of file language_stdc.cpp.
References identhelpdef::id, identcatalog, and identhelpdef::text.
|
virtual |
Implements Language.
Definition at line 139 of file language_stdc.cpp.
|
private |
Definition at line 69 of file language_stdc.h.
Referenced by ~StandardLanguage().
|
private |
Definition at line 75 of file language_stdc.h.
Referenced by Translate().
|
private |
Definition at line 70 of file language_stdc.h.
Referenced by ~StandardLanguage().
|
private |
Definition at line 76 of file language_stdc.h.
Referenced by Translate().
|
private |
Definition at line 71 of file language_stdc.h.
Referenced by ~StandardLanguage().
|
private |
Definition at line 73 of file language_stdc.h.
Referenced by GetNextLine(), GetNextPair(), LoadCatalog(), and SkipComments().
|
private |
Definition at line 68 of file language_stdc.h.
Referenced by ~StandardLanguage().
|
private |
Definition at line 74 of file language_stdc.h.
Referenced by Translate().