/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
v1.6.0
src/OneScript.Language/LexicalAnalysis/Token.cs
150 строк
3 KB
EvilBeaver
Компиляция инструкций ДобавитьОбработчик/УдалитьОбработчик
03 фев 2020, 14:12
03 фев 2020, 14:12
4fca55e
Код
Авторство
О чём код?
/*---------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ----------------------------------------------------------*/ namespace OneScript.Language.LexicalAnalysis { public enum Token { NotAToken, // structure VarDef, Procedure, EndProcedure, Function, EndFunction, If, Then, Else, ElseIf, EndIf, For, While, Each, To, In, Loop, EndLoop, Break, Continue, Return, Try, Exception, RaiseException, EndTry, EndOfText, Export, Execute, AddHandler, RemoveHandler, // operators Plus, Minus, UnaryPlus, UnaryMinus, Multiply, Division, Modulo, Equal, MoreThan, LessThan, MoreOrEqual, LessOrEqual, NotEqual, And, Or, Not, Dot, OpenPar, ClosePar, OpenBracket, CloseBracket, NewObject, // special chars Comma, StringQuote, DateQuote, Semicolon, Question, // modifiers ByValParam, // built-in functions // must be declared last Eval, Bool, Number, Str, Date, Type, ValType, StrLen, TrimL, TrimR, TrimLR, Left, Right, Mid, StrPos, UCase, LCase, TCase, Chr, ChrCode, EmptyStr, StrReplace, StrGetLine, StrLineCount, StrEntryCount, Year, Month, Day, Hour, Minute, Second, BegOfYear, BegOfMonth, BegOfDay, BegOfHour, BegOfMinute, BegOfQuarter, EndOfYear, EndOfMonth, EndOfDay, EndOfHour, EndOfMinute, EndOfQuarter, WeekOfYear, DayOfYear, DayOfWeek, AddMonth, CurrentDate, Integer, Round, Log, Log10, Sin, Cos, Tan, ASin, ACos, ATan, Exp, Pow, Sqrt, Min, Max, Format, ExceptionInfo, ExceptionDescr, ModuleInfo } }