Describe operator.
You can find more information in comments below.
struct TOKEN_OPERATOR
{
int Type; // Use OPERATOR_TYPE or custom value
int CloseType; // Close operator if this operator is open block(for example, { and }). Use OPERATOR_TYPE or custom value
int Precedence; // Use OPERATOR_PRECEDENCE or custom value
String Value; // String representation
String Close; // Close operator string representation if this one is block opening operator
String Ignore; // Ignore values inside block. For example, OpenValue=', CloseValue=', IgnoreValue=''
String Replace; // Ignored values will be replaces with this value
std::vector<OPERATOR_FLAG> Flags; // Flags
};
Namespace: | nitisa::scripting |
Include: | Nitisa/Modules/Scripting/Types.h |