35 #include "lib/ntextd.h" 36 #include "lib/charbuf.h" 37 #include "main/lexer.h" 38 #include "main/nodes.h" 39 #include "main/parser.h" 65 static char promptq =
'"';
char * GetDescription() const
void Append(const char c)
Encapsulates an lexical analyzer. Provides token for the parser.
Base class for all nodes in a syntax tree.
void Append(const char *source)
virtual const char * GetText(Number *number)=0
CharBuffer()
Initialize without allocating memory.
static char * FindKeyword(Symbol symbol)
virtual char * Execute()=0
void SetDigits(int digits)
Represent a real number with 15 significant digits.
Parser(const char *input)
static void SetPrefs(char *prefs)
virtual ~PreferencesBase()
void SetPrompt(const char *prompt)
void SetRefactorNames(bool yes)
int StrLen(const char *string)
Get the length of a null terminated string.
Base class for all numeral systems.
DecimalSystem(unsigned int digits)
SyntaxNode * Parse()
Parses the input into a syntax tree.
unsigned int AllocAndCopy(char **destination, const char *source)
Allocate memory and copy a string into the array.
Encapsulate an character array which can be used as a string.
void EnsureSize(unsigned int size)
Ensure a memory block of specified size is allocated.
Encapsulates a recursive descent parser.