Describe expression types.
You can find more information in comments below.
enum EXPRESSION_TYPE
{
etList, // Items are other items list. If BlockOpen<>nil, then it is block
etProcedure, // Name is procedure name, Item[0] is procedure body(it is block item)
etSubscript, // Name is subscript name, Item[0] is subscript body(it is block item)
etOperator, // Value is operator token
etValue, // Value is value token(string, integer, float, identifier)
etComplex, // Items are other items separated by operator items
etRange, // Items 0 & 2 are other items, Item 1 is separator
etArray // Block item which items are other items separated by specified separator
};
Namespace: | nitisa::scripting |
Include: | Nitisa/Modules/Scripting/Enums.h |