in gui/frontend/src/parsing/mysql/MySQLBaseLexer.ts [69:111]
public static isRelation(type: number): boolean {
switch (type) {
case MySQLMRSLexer.EQUAL_OPERATOR:
case MySQLMRSLexer.ASSIGN_OPERATOR:
case MySQLMRSLexer.NULL_SAFE_EQUAL_OPERATOR:
case MySQLMRSLexer.GREATER_OR_EQUAL_OPERATOR:
case MySQLMRSLexer.GREATER_THAN_OPERATOR:
case MySQLMRSLexer.LESS_OR_EQUAL_OPERATOR:
case MySQLMRSLexer.LESS_THAN_OPERATOR:
case MySQLMRSLexer.NOT_EQUAL_OPERATOR:
case MySQLMRSLexer.NOT_EQUAL2_OPERATOR:
case MySQLMRSLexer.PLUS_OPERATOR:
case MySQLMRSLexer.MINUS_OPERATOR:
case MySQLMRSLexer.MULT_OPERATOR:
case MySQLMRSLexer.DIV_OPERATOR:
case MySQLMRSLexer.MOD_OPERATOR:
case MySQLMRSLexer.LOGICAL_NOT_OPERATOR:
case MySQLMRSLexer.BITWISE_NOT_OPERATOR:
case MySQLMRSLexer.SHIFT_LEFT_OPERATOR:
case MySQLMRSLexer.SHIFT_RIGHT_OPERATOR:
case MySQLMRSLexer.LOGICAL_AND_OPERATOR:
case MySQLMRSLexer.BITWISE_AND_OPERATOR:
case MySQLMRSLexer.BITWISE_XOR_OPERATOR:
case MySQLMRSLexer.LOGICAL_OR_OPERATOR:
case MySQLMRSLexer.BITWISE_OR_OPERATOR:
case MySQLMRSLexer.OR_SYMBOL:
case MySQLMRSLexer.XOR_SYMBOL:
case MySQLMRSLexer.AND_SYMBOL:
case MySQLMRSLexer.IS_SYMBOL:
case MySQLMRSLexer.BETWEEN_SYMBOL:
case MySQLMRSLexer.LIKE_SYMBOL:
case MySQLMRSLexer.REGEXP_SYMBOL:
case MySQLMRSLexer.IN_SYMBOL:
case MySQLMRSLexer.SOUNDS_SYMBOL:
case MySQLMRSLexer.NOT_SYMBOL: {
return true;
}
default: {
return false;
}
}
}