Enum Class BslOperator
java.lang.Object
java.lang.Enum<BslOperator>
com.github._1c_syntax.bsl.languageserver.utils.expressiontree.BslOperator
- All Implemented Interfaces:
Serializable,Comparable<BslOperator>,Constable
Операторы языка BSL.
Перечисление всех операторов с указанием их приоритета выполнения. Меньшее значение приоритета означает более раннее выполнение.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionСложение (приоритет 5).Логическое И (приоритет 2).Деление (приоритет 6).Равно (приоритет 4).Больше (приоритет 4).Больше или равно (приоритет 4).Меньше (приоритет 4).Меньше или равно (приоритет 4).Остаток от деления (приоритет 6).Умножение (приоритет 6).Логическое НЕ (приоритет 3).Не равно (приоритет 4).Логическое ИЛИ (приоритет 1).Вычитание (приоритет 5).Унарный минус (приоритет 7). -
Method Summary
Modifier and TypeMethodDescriptionintstatic BslOperatorReturns the enum constant of this class with the specified name.static BslOperator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OR
Логическое ИЛИ (приоритет 1). -
AND
Логическое И (приоритет 2). -
NOT
Логическое НЕ (приоритет 3). -
EQUAL
Равно (приоритет 4). -
LESS
Меньше (приоритет 4). -
LESS_OR_EQUAL
Меньше или равно (приоритет 4). -
GREATER
Больше (приоритет 4). -
GREATER_OR_EQUAL
Больше или равно (приоритет 4). -
NOT_EQUAL
Не равно (приоритет 4). -
ADD
Сложение (приоритет 5). -
SUBTRACT
Вычитание (приоритет 5). -
MULTIPLY
Умножение (приоритет 6). -
DIVIDE
Деление (приоритет 6). -
MODULO
Остаток от деления (приоритет 6). -
UNARY_MINUS
Унарный минус (приоритет 7). -
UNARY_PLUS
-
DEREFERENCE
-
INDEX_ACCESS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getPriority
public int getPriority()
-