public interface

IJavaArithmeticExpression

implements IJavaExpression INonStatement
com.pnfsoftware.jeb.core.units.code.java.IJavaArithmeticExpression
Known Indirect Subclasses

Class Overview

Java AST interface to represent arithmetic and logical expressions.

An expression consists of one or two members (the left and right members) and an operator. The left member is optional, and should be null for unary operators.

Examples:

  • a + 1
  • a * ((int)b - foo())
  • !x
  • x ^ y | z

Summary

Public Methods
abstract IJavaExpression getLeft()
Get the left member sub-expression.
abstract IJavaOperator getOperator()
Get the expression's operator.
abstract IJavaExpression getRight()
Get the right sub-expression.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement

Public Methods

public abstract IJavaExpression getLeft ()

Get the left member sub-expression.

Returns
  • the left expression, null if none

public abstract IJavaOperator getOperator ()

Get the expression's operator.

Returns
  • the operator

public abstract IJavaExpression getRight ()

Get the right sub-expression.

Returns
  • the right expression