mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-08 21:21:50 +00:00
43 lines
828 B
C
43 lines
828 B
C
|
#include "model.h"
|
||
|
#include "compat.h"
|
||
|
#include "StringClass.h"
|
||
|
#include "intClass.h"
|
||
|
|
||
|
TokenConvertion_t tokenConvertions[] = {
|
||
|
{SmallerEqual, "<="},
|
||
|
{BiggerEqual, ">="},
|
||
|
{NotEqual, "!="},
|
||
|
{LogicAnd, "&&"},
|
||
|
{LogicOr, "||"},
|
||
|
{EqualEqual, "=="},
|
||
|
|
||
|
{BitShiftLeft, "<<"},
|
||
|
{BitShiftRight, ">>"},
|
||
|
|
||
|
{Not, "!"},
|
||
|
{Plus, "+"},
|
||
|
{Equals, "="},
|
||
|
{Minus, "-"},
|
||
|
{Multiply, "*"},
|
||
|
{Division, "/"},
|
||
|
{Modulo, "%"},
|
||
|
|
||
|
{LeftSquareBracket, "["},
|
||
|
{LeftCurlyBracket, "{"},
|
||
|
{LeftBracket, "("},
|
||
|
{RightSquareBracket, "]"},
|
||
|
{RightCurlyBracket, "}"},
|
||
|
{RightBracket, ")"},
|
||
|
|
||
|
{Smaller, "<"},
|
||
|
{Bigger, ">"},
|
||
|
|
||
|
{And, "&"},
|
||
|
{Or, "|"},
|
||
|
{Dot, "."},
|
||
|
{EquationSeperator, ","},
|
||
|
};
|
||
|
|
||
|
u32 tokenConvertionCount = ARRAY_SIZE(tokenConvertions);
|
||
|
|
||
|
Variable_t emptyClass = { .variableType = EmptyClass, .readOnly = 1, .reference = 1, .gcDoNotFree = 1 };
|