Public Member Functions

jscicalc.expression.Expression Class Reference

This class represents an output token that can be handled by Parser and is not an Error or Complex. More...

Collaboration diagram for jscicalc.expression.Expression:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int compareTo (Expression expression)
 The comparison operator.
abstract Expression negate ()
 Return the negative of this.

Detailed Description

This class represents an output token that can be handled by Parser and is not an Error or Complex.

See also:
OObject
Author:
J. D. Lamb
Version:
Revision:
1.3

Member Function Documentation

int jscicalc.expression.Expression.compareTo ( Expression  expression  ) 

The comparison operator.

Parameters:
expression The Expression to be compared.
Returns:
integer indicating how expression is compared to this.

Referenced by jscicalc.expression.SumOrProduct.compare().

abstract Expression jscicalc.expression.Expression.negate (  )  [pure virtual]

Return the negative of this.

Returns:
The negative of this

Reimplemented from jscicalc.OObject.

Implemented in jscicalc.expression.Monadic, jscicalc.expression.Product, jscicalc.expression.Sum, and jscicalc.expression.Variable.


The documentation for this class was generated from the following file: