Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
D 
- dependencies() - Method in class cs2110.Application
-
An Application depends on whatever its argument depends on.
- dependencies() - Method in class cs2110.Constant
-
A Constant has no dependencies.
- dependencies() - Method in interface cs2110.Expression
-
Return the names of all variables that this expression depends on.
- dispatchCommand(Scanner) - Method in class cs2110.RpnCalc
-
Consume the first token in `scanner`, interpret it as a command name, and execute the appropriate command handler.
- DIVIDE - Static variable in interface cs2110.Operator
-
Operator for division.
- DIVIDE_SYMBOL - Static variable in interface cs2110.Operator
- doClear(Scanner) - Method in class cs2110.RpnCalc
-
Parse remaining arguments in `scanner` and perform the "clear" command to clear all variable assignments in this calculator instance.
- doDef(Scanner) - Method in class cs2110.RpnCalc
-
Parse remaining arguments in `scanner` and perform the "def" command to define a new function equivalent to the current expression.
- doDefs(Scanner) - Method in class cs2110.RpnCalc
-
Parse remaining arguments in `scanner` and perform the "defs" command to print all function definitions in this calculator instance.
- doDeps(Scanner) - Method in class cs2110.RpnCalc
-
Perform the "deps" command to print the names of variables that the current expression depends on.
- doEval(Scanner) - Method in class cs2110.RpnCalc
-
Perform the "eval" command to evaluate the current expression and print the result.
- doHelp(Scanner) - Method in class cs2110.RpnCalc
-
Print the commands understood by this calculator, their arguments (in angle brackets, with additional square brackets around optional arguments), and a brief description of the commands' effects.
- doInfix(Scanner) - Method in class cs2110.RpnCalc
-
Perform the "infix" command to print the current expression in infix notation.
- doOpcount(Scanner) - Method in class cs2110.RpnCalc
-
Perform the "opcount" command to print the number of operations required to evaluate the current expression.
- doOptimize(Scanner) - Method in class cs2110.RpnCalc
-
Perform the "optimize" command to replace the current expression with its optimized form, propagating constant subexpressions based on the current variable assignments.
- doPostfix(Scanner) - Method in class cs2110.RpnCalc
-
Perform the "postifx" command to print the current expression in postfix (RPN) notation.
- doSet(Scanner) - Method in class cs2110.RpnCalc
-
Parse remaining arguments in `scanner` and perform the "set" command to assign a value to a variable in this calculator instance.
- doTabulate(Scanner) - Method in class cs2110.RpnCalc
-
Parse remaining arguments in `scanner` and perform the "tabulate" command to evaluate the current expression at a range of abscissa and print each abscissa and ordinate value.
- doubleValue() - Method in class cs2110.Token.Number
-
Return the numeric value represented by this token, in double precision.
- doUnset(Scanner) - Method in class cs2110.RpnCalc
-
Parse remaining arguments in `scanner` and perform the "unset" command to unassign a value from a variable in this calculator instance.
- doVars(Scanner) - Method in class cs2110.RpnCalc
-
Parse remaining arguments in `scanner` and perform the "vars" command to print all variable assignments in this calculator instance.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form