amath  1.8.5
Simple command line calculator
language.cpp File Reference
#include "amath.h"
#include "amathc.h"
#include "program.h"
#include "language.h"
#include "loc/help.h"
#include "loc/kword.h"
#include "loc/ident.h"
#include "loc/text.h"
#include "main/symbol.h"
#include "main/operatordefs.h"
#include "main/functionalias.h"
Include dependency graph for language.cpp:

Go to the source code of this file.

Variables

static const texttag ansiTags []
 
static const texttag emptyTags []
 

Variable Documentation

◆ ansiTags

const texttag ansiTags[]
static
Initial value:
= {
{"#HEADLINE#", "\x1B[1m"},
{"#SYNTAXHIGHLIGHT#", "\x1B[3m\x1B[32m"},
{"#NORMALTEXT#", "\x1B[0m"},
{"#BOLD#", "\x1B[1m"},
{"#ITALICS#", "\x1B[3m"},
{"#UNDERLINE#", "\x1B[4m"},
{"#COLOR01#", "\x1B[31m"},
{"#COLOR02#", "\x1B[32m"},
{"#COLOR03#", "\x1B[33m"},
{"#SPACE#", SPACE},
{"#NEWLINE#", NEWLINE},
{"#STARTMSG#", TXTSTARTMSG}
}
#define NEWLINE
Definition: amath.h:222
#define TXTSTARTMSG
Definition: amath.h:288
#define SPACE
Definition: amath.h:214

Definition at line 42 of file language.cpp.

Referenced by Language::UntagText().

◆ emptyTags

const texttag emptyTags[]
static
Initial value:
= {
{"#HEADLINE#", EMPTYSTRING},
{"#SYNTAXHIGHLIGHT#", EMPTYSTRING},
{"#NORMALTEXT#", EMPTYSTRING},
{"#BOLD#", EMPTYSTRING},
{"#ITALICS#", EMPTYSTRING},
{"#UNDERLINE#", EMPTYSTRING},
{"#COLOR01#", EMPTYSTRING},
{"#COLOR02#", EMPTYSTRING},
{"#COLOR03#", EMPTYSTRING},
{"#SPACE#", SPACE},
{"#NEWLINE#", NEWLINE},
{"#STARTMSG#", TXTSTARTMSG}
}
#define NEWLINE
Definition: amath.h:222
#define EMPTYSTRING
Definition: amath.h:213
#define TXTSTARTMSG
Definition: amath.h:288
#define SPACE
Definition: amath.h:214

Definition at line 61 of file language.cpp.

Referenced by Language::UntagText().