in gui/frontend/src/parsing/mysql/MySQLBaseLexer.ts [165:208]
public isOperator(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.DOT_SYMBOL:
case MySQLMRSLexer.COMMA_SYMBOL:
case MySQLMRSLexer.SEMICOLON_SYMBOL:
case MySQLMRSLexer.COLON_SYMBOL:
case MySQLMRSLexer.OPEN_PAR_SYMBOL:
case MySQLMRSLexer.CLOSE_PAR_SYMBOL:
case MySQLMRSLexer.OPEN_CURLY_SYMBOL:
case MySQLMRSLexer.CLOSE_CURLY_SYMBOL:
case MySQLMRSLexer.OPEN_SQUARE_SYMBOL:
case MySQLMRSLexer.CLOSE_SQUARE_SYMBOL:
case MySQLMRSLexer.AT_SIGN_SYMBOL:
case MySQLMRSLexer.AT_AT_SIGN_SYMBOL:
case MySQLMRSLexer.PARAM_MARKER:
return true;
default:
return false;
}
}