# Enum: com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.COperatorType

Operator types are used to build [operators](ICOperator) used by AST components, eg, in [operations](ICOperation). 

 All types are regular except the [#CUSTOM](#CUSTOM) and [#CAST](#CAST) types, which are used to build custom operators.

## Constant: ADD

## Constant: AND

## Constant: CAST

## Constant: COND
Description: ternary conditional operator

## Constant: CUSTOM

## Constant: DIV

## Constant: EQ

## Constant: GE

## Constant: GT

## Constant: LE

## Constant: LOG_AND

## Constant: LOG_IDENT
Description: Logical pseudo\-identity operator \(no output\); the opposite of LOG\_NOT

## Constant: LOG_NOT

## Constant: LOG_OR

## Constant: LT

## Constant: MUL

## Constant: NE

## Constant: NEG

## Constant: NOT

## Constant: OR

## Constant: PTR

## Constant: REF

## Constant: REM

## Constant: SHL

## Constant: SHR

## Constant: SIZEOF

## Constant: SUB

## Constant: USHR

## Constant: XOR

## Method: getAssociativity
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.COperatorType.Associativity`

Description: Provide associativity \(left, right\) information about the operation type.
return: the associativity, or null if irrelevant

## Method: getOperandCount
- return type: `int`

Description: Get the number of operands accepted by this operator. Warning\! For CUSTOM, the returned value is \-1.
return: the count of operands, \-1 if the count is not specified for the operator

## Method: getPrecedence
- return type: `int`

Description: Provide precedence information about the operation type.
return: a positive value \(lower means "higher precedence"\), 0 if unknown

## Method: mirror
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.COperatorType`

Description: Retrieve a mirror of this operator.
return: the mirror operator or null

## Method: reverse
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.COperatorType`

Description: Retrieve a reverse of this operator.
return: the reverse operator or null

## Method: toString
- return type: `java.lang.String`


## Static Method: valueOf
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.COperatorType`


## Static Method: values
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.COperatorType[]`


