/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
v2.0.3-alpha
src/OneScript.Language/LexicalAnalysis/Token.cs
154 строки
3 KB
Andrey Ovsiankin
Merge branch 'develop' into feature/compiler-v2
29 июн 2021, 15:44
29 июн 2021, 15:44
03a8c27
Код
Авторство
О чём код?
/*---------------------------------------------------------- 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, Async, Await, // 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, BegOfWeek, BegOfYear, BegOfMonth, BegOfDay, BegOfHour, BegOfMinute, BegOfQuarter, EndOfWeek, 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 } }