edu.vub.at.objects
Interface ATNumeric

All Superinterfaces:
ATAbstractGrammar, ATConversions, ATExpression, ATObject, ATStatement
All Known Subinterfaces:
ATFraction, ATNumber
All Known Implementing Classes:
NATFraction, NATNumber, NATNumeric

public interface ATNumeric
extends ATExpression

The common interface to both numbers and fractions. This interface extends ATExpression as a number or fraction can also be output by the parser as a literal.

Author:
tvc

Method Summary
 ATNumeric base__opdiv_(ATNumeric other)
           
 ATBoolean base__opeql_(ATNumeric other)
           
 ATBoolean base__opgtx__opeql_(ATNumeric other)
           
 ATBoolean base__opgtx_(ATNumeric other)
           
 ATNumeric base__opltx__opeql__opgtx_(ATNumeric other)
           
 ATBoolean base__opltx__opeql_(ATNumeric other)
           
 ATBoolean base__opltx_(ATNumeric other)
           
 ATNumeric base__opmns_(ATNumeric other)
           
 ATBoolean base__opnot__opeql_(ATNumeric other)
           
 ATNumeric base__oppls_(ATNumeric other)
           
 ATNumeric base__optms_(ATNumeric other)
           
 ATNumeric base_addFraction(ATFraction other)
           
 ATNumeric base_addNumber(ATNumber other)
           
 ATFraction base_cos()
           
 ATNumeric base_divideFraction(ATFraction other)
           
 ATNumeric base_divideNumber(ATNumber other)
           
 ATFraction base_expt(ATNumeric pow)
           
 ATNumeric base_gequalsFraction(ATFraction other)
           
 ATNumeric base_gequalsNumber(ATNumber other)
           
 ATFraction base_log()
           
 ATFraction base_sin()
           
 ATFraction base_sqrt()
           
 ATNumeric base_subtractFraction(ATFraction other)
           
 ATNumeric base_subtractNumber(ATNumber other)
           
 ATFraction base_tan()
           
 ATNumeric base_timesFraction(ATFraction other)
           
 ATNumeric base_timesNumber(ATNumber other)
           
 
Methods inherited from interface edu.vub.at.objects.ATObject
base__opeql__opeql_, base_init, base_new, meta_addField, meta_addMethod, meta_assignField, meta_assignVariable, meta_clone, meta_defineField, meta_doesNotUnderstand, meta_eval, meta_extend, meta_getDynamicParent, meta_getLexicalParent, meta_getStripes, meta_grabField, meta_grabMethod, meta_invoke, meta_isCloneOf, meta_isRelatedTo, meta_isStripedWith, meta_listFields, meta_listMethods, meta_lookup, meta_newInstance, meta_pass, meta_print, meta_quote, meta_receive, meta_resolve, meta_respondsTo, meta_select, meta_send, meta_share
 
Methods inherited from interface edu.vub.at.objects.coercion.ATConversions
asAmbientTalkObject, asJavaClassUnderSymbiosis, asJavaObjectUnderSymbiosis, asNativeBoolean, asNativeException, asNativeFarReference, asNativeFraction, asNativeNumber, asNativeNumeric, asNativeTable, asNativeText, base_asActorMirror, base_asAsyncMessage, base_asBegin, base_asBoolean, base_asClosure, base_asDefinition, base_asExpression, base_asFarReference, base_asField, base_asHandler, base_asMessage, base_asMessageCreation, base_asMethod, base_asMirror, base_asNumber, base_asSplice, base_asStatement, base_asStripe, base_asSymbol, base_asTable, base_asUnquoteSplice, base_asVariableAssignment, base_isBoolean, base_isCallFrame, base_isClosure, base_isFarReference, base_isMessageCreation, base_isMethod, base_isMirror, base_isSplice, base_isStripe, base_isSymbol, base_isTable, base_isUnquoteSplice, base_isVariableAssignment, isAmbientTalkObject, isJavaObjectUnderSymbiosis, isNativeBoolean, isNativeField, isNativeText
 

Method Detail

base_cos

public ATFraction base_cos()
                    throws InterpreterException
Throws:
InterpreterException

base_sin

public ATFraction base_sin()
                    throws InterpreterException
Throws:
InterpreterException

base_tan

public ATFraction base_tan()
                    throws InterpreterException
Throws:
InterpreterException

base_log

public ATFraction base_log()
                    throws InterpreterException
Throws:
InterpreterException

base_sqrt

public ATFraction base_sqrt()
                     throws InterpreterException
Throws:
InterpreterException

base_expt

public ATFraction base_expt(ATNumeric pow)
                     throws InterpreterException
Throws:
InterpreterException

base__oppls_

public ATNumeric base__oppls_(ATNumeric other)
                       throws InterpreterException
Throws:
InterpreterException

base_addNumber

public ATNumeric base_addNumber(ATNumber other)
                         throws InterpreterException
Throws:
InterpreterException

base_addFraction

public ATNumeric base_addFraction(ATFraction other)
                           throws InterpreterException
Throws:
InterpreterException

base__opmns_

public ATNumeric base__opmns_(ATNumeric other)
                       throws InterpreterException
Throws:
InterpreterException

base_subtractNumber

public ATNumeric base_subtractNumber(ATNumber other)
                              throws InterpreterException
Throws:
InterpreterException

base_subtractFraction

public ATNumeric base_subtractFraction(ATFraction other)
                                throws InterpreterException
Throws:
InterpreterException

base__optms_

public ATNumeric base__optms_(ATNumeric other)
                       throws InterpreterException
Throws:
InterpreterException

base_timesNumber

public ATNumeric base_timesNumber(ATNumber other)
                           throws InterpreterException
Throws:
InterpreterException

base_timesFraction

public ATNumeric base_timesFraction(ATFraction other)
                             throws InterpreterException
Throws:
InterpreterException

base__opdiv_

public ATNumeric base__opdiv_(ATNumeric other)
                       throws InterpreterException
Throws:
InterpreterException

base_divideNumber

public ATNumeric base_divideNumber(ATNumber other)
                            throws InterpreterException
Throws:
InterpreterException

base_divideFraction

public ATNumeric base_divideFraction(ATFraction other)
                              throws InterpreterException
Throws:
InterpreterException

base__opltx__opeql__opgtx_

public ATNumeric base__opltx__opeql__opgtx_(ATNumeric other)
                                     throws InterpreterException
Throws:
InterpreterException

base_gequalsNumber

public ATNumeric base_gequalsNumber(ATNumber other)
                             throws InterpreterException
Throws:
InterpreterException

base_gequalsFraction

public ATNumeric base_gequalsFraction(ATFraction other)
                               throws InterpreterException
Throws:
InterpreterException

base__opltx_

public ATBoolean base__opltx_(ATNumeric other)
                       throws InterpreterException
Throws:
InterpreterException

base__opgtx_

public ATBoolean base__opgtx_(ATNumeric other)
                       throws InterpreterException
Throws:
InterpreterException

base__opltx__opeql_

public ATBoolean base__opltx__opeql_(ATNumeric other)
                              throws InterpreterException
Throws:
InterpreterException

base__opgtx__opeql_

public ATBoolean base__opgtx__opeql_(ATNumeric other)
                              throws InterpreterException
Throws:
InterpreterException

base__opeql_

public ATBoolean base__opeql_(ATNumeric other)
                       throws InterpreterException
Throws:
InterpreterException

base__opnot__opeql_

public ATBoolean base__opnot__opeql_(ATNumeric other)
                              throws InterpreterException
Throws:
InterpreterException