Skip to content

Operator

Øyvind Kallstad edited this page Sep 14, 2017 · 5 revisions

Comparison

Comparison operators are used to compare values and test conditions.

List of comparison operators:

  • -as
  • -is
  • -isnot
  • -in
  • -notin
  • -[(c|i)]eq
  • -[(c|i)]ne
  • -[(c|i)]gt
  • -[(c|i)]lt
  • -[(c|i)]ge
  • -[(c|i)]le
  • -[(c|i)]like
  • -[(c|i)]notlike
  • -[(c|i)]contains
  • -[(c|i)]notcontains
  • -[(c|i)]match
  • -[(c|i)]notmatch

Scopes

The following scope are assigned to comparison operators:

  • keyword.operator.comparison

Bitwise

List of bitwise operators:

  • -bAND
  • -bOR
  • -bXOR
  • -bNOT
  • -shl
  • -shr

Scopes

The following scope are assigned to bitwise operators:

  • keyword.operator.bitwise

Logical

List of logical operators:

  • -and
  • -or
  • -xor

Scopes

The following scope are assigned to logical operators:

  • keyword.operator.logical

Format

List of format operators:

  • -f

Scopes

The following scope are assigned to format operators:

  • keyword.operator.format

Assignment

List of assignment operators:

  • =
  • -=
  • +=
  • *=
  • \=

Scopes

The following scope are assigned to assignment operators:

  • keyword.operator.assignment

Home

About

Use

Contributing

Scopes and Tokens

Clone this wiki locally