/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
v2.0-alpha-1
src/OneScript.Language/LexicalAnalysis/Token.cs
152 строки
3 KB
Andrei Ovsiankin
В токенизатор добавил асинх/ждать
14 янв 2021, 13:56
14 янв 2021, 13:56
207f24a
Код
Авторство
О чём код?
/*---------------------------------------------------------- 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, 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 } }