|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Variable | |
---|---|
net.scheinerman.phoenix.interpreter | This package contains classes and packages for use in interpreting Phoenix programs. |
net.scheinerman.phoenix.interpreter.exceptions | This package contains classes that deal with exceptions that can be thrown during Phoenix program execution. |
net.scheinerman.phoenix.interpreter.functions | This package contains classes that deal with functions that can be declared and called in the execution of a Phoenix program. |
net.scheinerman.phoenix.interpreter.parser | This package contains classes that deal with the parsing of arithmetic expressions during Phoenix program execution. |
net.scheinerman.phoenix.interpreter.parser.operators | This package contains classes that deal with the parsing and manipulation of arithmetic operators during Phoenix program execution. |
net.scheinerman.phoenix.interpreter.variables | This package contains variables that deal with the creation and manipulation of variables during Phoenix program execution. |
net.scheinerman.phoenix.runner | This package contains classes for use in running Phoenix programs. |
Uses of Variable in net.scheinerman.phoenix.interpreter |
---|
Fields in net.scheinerman.phoenix.interpreter declared as Variable | |
---|---|
protected Variable |
Interpreter.retType
A simple variable whose type indicates what the return type of this interpreter is. |
protected Variable |
Interpreter.retValue
The value returned after a return statement. |
protected Variable |
IfInterpreter.retValue
The value returned after a return statement. |
private Variable |
SwitchInterpreter.switchVariable
|
Fields in net.scheinerman.phoenix.interpreter with type parameters of type Variable | |
---|---|
protected java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> |
Interpreter.vat
The Variable Allocation Table (VAT) stores variables and their values for all scopes of the interpretation process. |
private java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> |
IfInterpreter.vat
The Variable Allocation Table (VAT) stores variables and their values for all scopes of the interpretation process. |
Methods in net.scheinerman.phoenix.interpreter that return Variable | |
---|---|
Variable |
Interpreter.getReturnValue()
Gets the variable returned by a return statement in this interpretation. |
Variable |
Interpreter.getVariable(java.lang.String identifier)
Returns the variable with the given identifier. |
static Variable |
Interpreter.makeDefaultVariable(java.lang.String type)
Creates an empty variable (using that variable's default constructor) given the identifier of the variable. |
Variable |
Interpreter.makeVariable(java.lang.String type,
Variable value)
Given a variable type and a value, creates a Variable object with that value. |
Variable |
Interpreter.parsePhrase(java.lang.String phrase)
Returns the variable equivalent of a line of code. |
Methods in net.scheinerman.phoenix.interpreter with parameters of type Variable | |
---|---|
protected void |
Interpreter.dealWithReturn(Variable passed)
Deals with a return statement with a given variable that has been passed through the
return statement. |
protected void |
IfInterpreter.dealWithReturn(Variable passed)
Deals with a return statement in the subordinate Interpreter by passing it
up to the above interpreter. |
Variable |
Interpreter.makeVariable(java.lang.String type,
Variable value)
Given a variable type and a value, creates a Variable object with that value. |
Constructors in net.scheinerman.phoenix.interpreter with parameters of type Variable | |
---|---|
SwitchInterpreter(java.lang.String file,
java.lang.String code,
int line,
Variable switchVariable,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
|
Constructor parameters in net.scheinerman.phoenix.interpreter with type arguments of type Variable | |
---|---|
CatchInterpreter(java.lang.String file,
java.lang.String code,
int line,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
|
|
DoWhileInterpreter(java.lang.String file,
java.lang.String code,
int line,
java.lang.String whileStatement,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
Creates a new do while loop interpreter. |
|
ForInterpreter(java.lang.String file,
java.lang.String code,
int line,
java.lang.String forStatement,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
Creates a new for loop that takes the LoopInterpreter arguments along with the
end condition of the for loop. |
|
IfInterpreter(java.lang.String file,
java.util.ArrayList<Condition> conditions,
Interpreter interpreter,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
Creates a new IfInterpreter with a given file, a set of conditions, an interpreter
to run the conditions, a VAT and a FAT. |
|
ImportInterpreter(java.lang.String module,
int type,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
|
|
InteractiveInterpreter(java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
|
|
Interpreter(boolean topLevel,
java.lang.String file,
java.lang.String code,
int line,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
Instantiates a new Interpreter that starts at some point in a file. |
|
Interpreter(boolean topLevel,
java.lang.String file,
java.lang.String code,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
Instantiates a new Interpreter that starts at the beginning of a file. |
|
LoopInterpreter(java.lang.String file,
java.lang.String code,
int line,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
Creates a new basic loop interpreter. |
|
SwitchInterpreter(java.lang.String file,
java.lang.String code,
int line,
Variable switchVariable,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
|
|
TryInterpreter(java.lang.String file,
java.lang.String code,
int line,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat,
CatchInterpreter catchInterpreter)
|
|
WhileInterpreter(java.lang.String file,
java.lang.String code,
int line,
java.lang.String whileStatement,
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
Creates a new while loop interpreter. |
Uses of Variable in net.scheinerman.phoenix.interpreter.exceptions |
---|
Fields in net.scheinerman.phoenix.interpreter.exceptions declared as Variable | |
---|---|
private Variable |
UnsupportedOperatorException.var
|
Constructors in net.scheinerman.phoenix.interpreter.exceptions with parameters of type Variable | |
---|---|
UnsupportedOperatorException(Variable var,
java.lang.String operator)
|
Uses of Variable in net.scheinerman.phoenix.interpreter.functions |
---|
Fields in net.scheinerman.phoenix.interpreter.functions declared as Variable | |
---|---|
protected Variable[] |
Function.af_types
An array containing variables of the same types as the right-hand arguments to the function. |
protected Variable[] |
Function.b4_types
An array containing variables of the same types as the left-hand arguments to the function. |
private Variable[] |
NativeFunction.types
An array of the types of the variables that will be passed to the function. |
Methods in net.scheinerman.phoenix.interpreter.functions that return Variable | |
---|---|
private Variable[] |
BuiltInFunction.convertStrToVar(java.lang.String[] args)
|
Variable[] |
Function.getAfterTypes()
Returns the default variables that were defined as right-hand parameters of the function. |
Variable[] |
Function.getBeforeTypes()
Returns the default variables that were defined as left-hand parameters of the function. |
Methods in net.scheinerman.phoenix.interpreter.functions with parameters of type Variable | |
---|---|
protected void |
Function.addArgs(Variable[] b4_args,
Variable[] af_args)
Adds the passed variables to the local VAT and FAT of the function. |
protected void |
Function.addArgs(Variable[] b4_args,
Variable[] af_args)
Adds the passed variables to the local VAT and FAT of the function. |
protected boolean |
Function.check(Variable[] b4_args,
Variable[] af_args)
Checks to see whether the variables that were passed to this function are actually of the type that were specified in the function definition. |
protected boolean |
Function.check(Variable[] b4_args,
Variable[] af_args)
Checks to see whether the variables that were passed to this function are actually of the type that were specified in the function definition. |
private java.lang.String[] |
BuiltInFunction.convertVarToStr(Variable[] args)
|
protected void |
Function.dealWithReturn(Variable passed)
Deals with a return statement by setting the retValue field, checking whether
it's the right type and stopping the function. |
private static java.lang.String |
NativeFunction.getArgList(Variable[] b4_args,
Variable[] af_args)
Returns a version of the left and right hand arguments in a form that is appropriate for passing into a Java program via command line arguments. |
private static java.lang.String |
NativeFunction.getArgList(Variable[] b4_args,
Variable[] af_args)
Returns a version of the left and right hand arguments in a form that is appropriate for passing into a Java program via command line arguments. |
void |
NativeFunction.run(Variable[] b4_args,
Variable[] af_args)
Runs this native function with the given left-hand and right-hand arguments. |
void |
NativeFunction.run(Variable[] b4_args,
Variable[] af_args)
Runs this native function with the given left-hand and right-hand arguments. |
void |
Function.run(Variable[] b4_args,
Variable[] af_args)
Runs this function with the given left-hand and right-hand arguments. |
void |
Function.run(Variable[] b4_args,
Variable[] af_args)
Runs this function with the given left-hand and right-hand arguments. |
void |
BuiltInFunction.run(Variable[] b4_args,
Variable[] af_args)
|
void |
BuiltInFunction.run(Variable[] b4_args,
Variable[] af_args)
|
Method parameters in net.scheinerman.phoenix.interpreter.functions with type arguments of type Variable | |
---|---|
void |
Function.setVATandFAT(java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat)
|
Constructors in net.scheinerman.phoenix.interpreter.functions with parameters of type Variable | |
---|---|
Function(java.lang.String name,
java.lang.String file,
java.lang.String code,
int line,
Variable[] b4_types,
java.lang.String[] b4_names,
Variable[] af_types,
java.lang.String[] af_names,
Variable retType,
boolean setupDocs)
Constructs a Function with the given variables. |
|
Function(java.lang.String name,
java.lang.String file,
java.lang.String code,
int line,
Variable[] b4_types,
java.lang.String[] b4_names,
Variable[] af_types,
java.lang.String[] af_names,
Variable retType,
boolean setupDocs)
Constructs a Function with the given variables. |
|
Function(java.lang.String name,
java.lang.String file,
java.lang.String code,
int line,
Variable[] b4_types,
java.lang.String[] b4_names,
Variable[] af_types,
java.lang.String[] af_names,
Variable retType,
boolean setupDocs)
Constructs a Function with the given variables. |
|
NativeFunction(java.lang.String name,
java.lang.String path,
Variable[] b4_types,
java.lang.String[] b4_names,
Variable[] af_types,
java.lang.String[] af_names)
Creates a new native function with the given name, class path and arguments. |
|
NativeFunction(java.lang.String name,
java.lang.String path,
Variable[] b4_types,
java.lang.String[] b4_names,
Variable[] af_types,
java.lang.String[] af_names)
Creates a new native function with the given name, class path and arguments. |
Uses of Variable in net.scheinerman.phoenix.interpreter.parser |
---|
Fields in net.scheinerman.phoenix.interpreter.parser declared as Variable | |
---|---|
private Variable |
DataNode.data
The data held by this node. |
Methods in net.scheinerman.phoenix.interpreter.parser that return Variable | |
---|---|
private static Variable |
Parser.getValue(java.lang.String phrase)
|
Variable[] |
ArgListNode.getVariables()
|
Variable |
ParserTreeNode.operate()
Operates on this node to provide some sort of variable result dependent on the expression being parsed. |
Variable |
DataNode.operate()
Returns the data encapsulated by this node. |
Variable |
ArgListNode.operate()
|
static Variable |
Parser.parse(java.lang.String expression,
Interpreter i)
|
Constructors in net.scheinerman.phoenix.interpreter.parser with parameters of type Variable | |
---|---|
DataNode(Variable data)
Creates a new data node which holds a variable as a piece of data to be used in the parsing tree. |
Uses of Variable in net.scheinerman.phoenix.interpreter.parser.operators |
---|
Fields in net.scheinerman.phoenix.interpreter.parser.operators declared as Variable | |
---|---|
private Variable[] |
FunctionOperatorNode.af
|
private Variable[] |
FunctionOperatorNode.b4
|
Methods in net.scheinerman.phoenix.interpreter.parser.operators that return Variable | |
---|---|
Variable |
XOrOperatorNode.operate()
|
Variable |
SubtractOperatorNode.operate()
|
Variable |
SubscriptSliceOperatorNode.operate()
|
Variable |
RoundOperatorNode.operate()
|
Variable |
PrefixIncrementOperatorNode.operate()
|
Variable |
PrefixDecrementOperatorNode.operate()
|
Variable |
PostfixIncrementOperatorNode.operate()
|
Variable |
PostfixDecrementOperatorNode.operate()
|
Variable |
OrOperatorNode.operate()
|
Variable |
OperatorNode.operate()
Parses this operator, by operating on the left and right hand arguments and then combining the results in some implementation specific manner. |
Variable |
NotOperatorNode.operate()
|
Variable |
NotEqualOperatorNode.operate()
|
Variable |
NegationOperatorNode.operate()
|
Variable |
MultiplyOperatorNode.operate()
|
Variable |
ModOperatorNode.operate()
|
Variable |
LessOperatorNode.operate()
|
Variable |
LessEqualOperatorNode.operate()
|
Variable |
GreaterOperatorNode.operate()
|
Variable |
GreaterEqualOperatorNode.operate()
|
Variable |
FunctionReferenceOperatorNode.operate()
|
Variable |
FunctionOperatorNode.operate()
|
Variable |
ExpOperatorNode.operate()
|
Variable |
EqualOperatorNode.operate()
|
Variable |
DivideOperatorNode.operate()
|
Variable |
AssignSubtractOperatorNode.operate()
|
Variable |
AssignRoundOperatorNode.operate()
|
Variable |
AssignOperatorNode.operate()
|
Variable |
AssignMultiplyOperatorNode.operate()
|
Variable |
AssignModOperatorNode.operate()
|
Variable |
AssignExpOperatorNode.operate()
|
Variable |
AssignDivideOperatorNode.operate()
|
Variable |
AssignAddOperatorNode.operate()
|
Variable |
AndOperatorNode.operate()
|
Variable |
AddOperatorNode.operate()
|
Uses of Variable in net.scheinerman.phoenix.interpreter.variables |
---|
Classes in net.scheinerman.phoenix.interpreter.variables that implement Variable | |
---|---|
class |
AbstractVariable
Manages several of the methods of the Variable interface so that they don't need to
be implemented by the StringVariable and NumberVariable classes. |
class |
FunctionVariable
|
class |
NumberVariable
|
class |
StringVariable
|
Methods in net.scheinerman.phoenix.interpreter.variables that return Variable | |
---|---|
Variable |
Variable.add(Variable v)
Takes two variables and returns the addition operator solution. |
Variable |
StringVariable.add(Variable v)
The add (+) operator on two StrVar objects produces the concatenation of
the two strings. |
Variable |
NumberVariable.add(Variable v)
Returns a NumberVariable that is a sum of this variable and the
the parameter. |
Variable |
FunctionVariable.add(Variable v)
|
Variable |
Variable.and(Variable v)
Takes two variables and returns the logical and operator solution. |
Variable |
StringVariable.and(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.and(Variable v)
|
Variable |
FunctionVariable.and(Variable v)
|
Variable |
Variable.copy()
Returns a copy of this variable. |
Variable |
StringVariable.copy()
|
Variable |
NumberVariable.copy()
|
Variable |
FunctionVariable.copy()
|
Variable |
Variable.divide(Variable v)
Takes two variables and returns the division operator solution. |
Variable |
StringVariable.divide(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.divide(Variable v)
Returns a NumberVariable that is a quotient of this variable and the
the parameter. |
Variable |
FunctionVariable.divide(Variable v)
|
Variable |
Variable.exp(Variable v)
Takes two variables and returns the exponentiation operator solution. |
Variable |
StringVariable.exp(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.exp(Variable v)
|
Variable |
FunctionVariable.exp(Variable v)
|
Variable |
Variable.greaterEqual(Variable v)
Takes two variables and returns the greater than or equal to operator solution. |
Variable |
StringVariable.greaterEqual(Variable v)
|
Variable |
NumberVariable.greaterEqual(Variable v)
|
Variable |
FunctionVariable.greaterEqual(Variable v)
|
Variable |
Variable.greaterThan(Variable v)
Takes two variables and returns the greater than operator solution. |
Variable |
StringVariable.greaterThan(Variable v)
|
Variable |
NumberVariable.greaterThan(Variable v)
|
Variable |
FunctionVariable.greaterThan(Variable v)
|
Variable |
Variable.isEqualTo(Variable v)
Takes two variables and returns the equality operator solution. |
Variable |
StringVariable.isEqualTo(Variable v)
The equality operator (==) on two strings returns Constants.TRUE if
the two strings are equal and Constants.FALSE otherwise. |
Variable |
NumberVariable.isEqualTo(Variable v)
|
Variable |
FunctionVariable.isEqualTo(Variable v)
|
Variable |
Variable.lessEqual(Variable v)
Takes two variables and returns the less than or equal to operator solution. |
Variable |
StringVariable.lessEqual(Variable v)
|
Variable |
NumberVariable.lessEqual(Variable v)
|
Variable |
FunctionVariable.lessEqual(Variable v)
|
Variable |
Variable.lessThan(Variable v)
Takes two variables and returns the less than operator solution. |
Variable |
StringVariable.lessThan(Variable v)
|
Variable |
NumberVariable.lessThan(Variable v)
|
Variable |
FunctionVariable.lessThan(Variable v)
|
Variable |
Variable.mod(Variable v)
Takes two variables and returns the modulus arithmetic operator solution. |
Variable |
StringVariable.mod(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.mod(Variable v)
|
Variable |
FunctionVariable.mod(Variable v)
|
Variable |
Variable.multiply(Variable v)
Takes two variables and returns the multiplication operator solution. |
Variable |
StringVariable.multiply(Variable v)
The multiply (*) operator on a StrVar takes a NumVar that
must be an integer value. |
Variable |
NumberVariable.multiply(Variable v)
Returns a NumberVariable that is a product of this variable and the
the parameter. |
Variable |
FunctionVariable.multiply(Variable v)
|
Variable |
Variable.not()
Returns the result of the logical not (complement) of this variable. |
Variable |
StringVariable.not()
This operator is not supported for String variables. |
Variable |
NumberVariable.not()
|
Variable |
FunctionVariable.not()
|
Variable |
Variable.notEqualTo(Variable v)
Takes two variables and returns the inequality operator solution. |
Variable |
StringVariable.notEqualTo(Variable v)
|
Variable |
NumberVariable.notEqualTo(Variable v)
|
Variable |
FunctionVariable.notEqualTo(Variable v)
|
Variable |
Variable.or(Variable v)
Takes two variables and returns the logical inclusive or operator solution. |
Variable |
StringVariable.or(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.or(Variable v)
|
Variable |
FunctionVariable.or(Variable v)
|
Variable |
Variable.round(Variable v)
Takes two variables and returns the rouding operator solution. |
Variable |
StringVariable.round(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.round(Variable v)
|
Variable |
FunctionVariable.round(Variable v)
|
Variable |
Variable.subscript(Variable sub)
Returns the result of a simple, one variable subscript of this variable. |
Variable |
StringVariable.subscript(Variable sub)
|
Variable |
NumberVariable.subscript(Variable sub)
|
Variable |
FunctionVariable.subscript(Variable sub)
|
Variable |
Variable.subscript(Variable sub1,
Variable sub2)
Returns the result of a two variable subscript of this variable. |
Variable |
StringVariable.subscript(Variable sub1,
Variable sub2)
|
Variable |
NumberVariable.subscript(Variable sub1,
Variable sub2)
|
Variable |
FunctionVariable.subscript(Variable sub1,
Variable sub2)
|
Variable |
Variable.subtract(Variable v)
Takes two variables and returns the subtraction operator solution. |
Variable |
StringVariable.subtract(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.subtract(Variable v)
Returns a NumberVariable that is a difference of this variable and the
the parameter. |
Variable |
FunctionVariable.subtract(Variable v)
|
Variable |
Variable.xor(Variable v)
Takes two variables and returns the logical exclusive operator solution. |
Variable |
StringVariable.xor(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.xor(Variable v)
|
Variable |
FunctionVariable.xor(Variable v)
|
Methods in net.scheinerman.phoenix.interpreter.variables with parameters of type Variable | |
---|---|
Variable |
Variable.add(Variable v)
Takes two variables and returns the addition operator solution. |
Variable |
StringVariable.add(Variable v)
The add (+) operator on two StrVar objects produces the concatenation of
the two strings. |
Variable |
NumberVariable.add(Variable v)
Returns a NumberVariable that is a sum of this variable and the
the parameter. |
Variable |
FunctionVariable.add(Variable v)
|
Variable |
Variable.and(Variable v)
Takes two variables and returns the logical and operator solution. |
Variable |
StringVariable.and(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.and(Variable v)
|
Variable |
FunctionVariable.and(Variable v)
|
void |
Variable.assign(Variable v)
Assigns a new variable value to this variable. |
void |
StringVariable.assign(Variable v)
|
void |
NumberVariable.assign(Variable v)
Assigns a new variable value to this variable. |
void |
FunctionVariable.assign(Variable v)
|
void |
StringVariable.check(Variable v)
|
void |
NumberVariable.check(Variable v)
|
Variable |
Variable.divide(Variable v)
Takes two variables and returns the division operator solution. |
Variable |
StringVariable.divide(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.divide(Variable v)
Returns a NumberVariable that is a quotient of this variable and the
the parameter. |
Variable |
FunctionVariable.divide(Variable v)
|
boolean |
AbstractVariable.equals(Variable v)
Tests to see if the type of the two variables are equal by checking the equality of the strings returned by the getType() method. |
Variable |
Variable.exp(Variable v)
Takes two variables and returns the exponentiation operator solution. |
Variable |
StringVariable.exp(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.exp(Variable v)
|
Variable |
FunctionVariable.exp(Variable v)
|
Variable |
Variable.greaterEqual(Variable v)
Takes two variables and returns the greater than or equal to operator solution. |
Variable |
StringVariable.greaterEqual(Variable v)
|
Variable |
NumberVariable.greaterEqual(Variable v)
|
Variable |
FunctionVariable.greaterEqual(Variable v)
|
Variable |
Variable.greaterThan(Variable v)
Takes two variables and returns the greater than operator solution. |
Variable |
StringVariable.greaterThan(Variable v)
|
Variable |
NumberVariable.greaterThan(Variable v)
|
Variable |
FunctionVariable.greaterThan(Variable v)
|
Variable |
Variable.isEqualTo(Variable v)
Takes two variables and returns the equality operator solution. |
Variable |
StringVariable.isEqualTo(Variable v)
The equality operator (==) on two strings returns Constants.TRUE if
the two strings are equal and Constants.FALSE otherwise. |
Variable |
NumberVariable.isEqualTo(Variable v)
|
Variable |
FunctionVariable.isEqualTo(Variable v)
|
Variable |
Variable.lessEqual(Variable v)
Takes two variables and returns the less than or equal to operator solution. |
Variable |
StringVariable.lessEqual(Variable v)
|
Variable |
NumberVariable.lessEqual(Variable v)
|
Variable |
FunctionVariable.lessEqual(Variable v)
|
Variable |
Variable.lessThan(Variable v)
Takes two variables and returns the less than operator solution. |
Variable |
StringVariable.lessThan(Variable v)
|
Variable |
NumberVariable.lessThan(Variable v)
|
Variable |
FunctionVariable.lessThan(Variable v)
|
Variable |
Variable.mod(Variable v)
Takes two variables and returns the modulus arithmetic operator solution. |
Variable |
StringVariable.mod(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.mod(Variable v)
|
Variable |
FunctionVariable.mod(Variable v)
|
Variable |
Variable.multiply(Variable v)
Takes two variables and returns the multiplication operator solution. |
Variable |
StringVariable.multiply(Variable v)
The multiply (*) operator on a StrVar takes a NumVar that
must be an integer value. |
Variable |
NumberVariable.multiply(Variable v)
Returns a NumberVariable that is a product of this variable and the
the parameter. |
Variable |
FunctionVariable.multiply(Variable v)
|
Variable |
Variable.notEqualTo(Variable v)
Takes two variables and returns the inequality operator solution. |
Variable |
StringVariable.notEqualTo(Variable v)
|
Variable |
NumberVariable.notEqualTo(Variable v)
|
Variable |
FunctionVariable.notEqualTo(Variable v)
|
Variable |
Variable.or(Variable v)
Takes two variables and returns the logical inclusive or operator solution. |
Variable |
StringVariable.or(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.or(Variable v)
|
Variable |
FunctionVariable.or(Variable v)
|
Variable |
Variable.round(Variable v)
Takes two variables and returns the rouding operator solution. |
Variable |
StringVariable.round(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.round(Variable v)
|
Variable |
FunctionVariable.round(Variable v)
|
Variable |
Variable.subscript(Variable sub)
Returns the result of a simple, one variable subscript of this variable. |
Variable |
StringVariable.subscript(Variable sub)
|
Variable |
NumberVariable.subscript(Variable sub)
|
Variable |
FunctionVariable.subscript(Variable sub)
|
Variable |
Variable.subscript(Variable sub1,
Variable sub2)
Returns the result of a two variable subscript of this variable. |
Variable |
StringVariable.subscript(Variable sub1,
Variable sub2)
|
Variable |
NumberVariable.subscript(Variable sub1,
Variable sub2)
|
Variable |
FunctionVariable.subscript(Variable sub1,
Variable sub2)
|
Variable |
Variable.subtract(Variable v)
Takes two variables and returns the subtraction operator solution. |
Variable |
StringVariable.subtract(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.subtract(Variable v)
Returns a NumberVariable that is a difference of this variable and the
the parameter. |
Variable |
FunctionVariable.subtract(Variable v)
|
Variable |
Variable.xor(Variable v)
Takes two variables and returns the logical exclusive operator solution. |
Variable |
StringVariable.xor(Variable v)
This operator is not supported for String variables. |
Variable |
NumberVariable.xor(Variable v)
|
Variable |
FunctionVariable.xor(Variable v)
|
Constructors in net.scheinerman.phoenix.interpreter.variables with parameters of type Variable | |
---|---|
NumberVariable(Variable value)
Creates a new NumberVariable with the given value. |
|
NumberVariable(Variable value,
boolean constant)
|
|
StringVariable(Variable value)
Creates a new StringVariable with a given Variable as a starting
value for the variable. |
|
StringVariable(Variable value,
boolean constant)
Creates a new StringVariable with a given Variable as a starting
value for the variable and the choice to indicate whether the variable is constant or not. |
Uses of Variable in net.scheinerman.phoenix.runner |
---|
Fields in net.scheinerman.phoenix.runner with type parameters of type Variable | |
---|---|
private java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> |
Runner.vat
|
private java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> |
InteractivePhoenixEnvironment.vat
|
Methods in net.scheinerman.phoenix.runner that return types with arguments of type Variable | |
---|---|
java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> |
InteractivePhoenixEnvironment.getVAT()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |