Class LogOrAntiLogToAnyBase
java.lang.Object
parser.Operator
parser.LogOrAntiLogToAnyBase
- All Implemented Interfaces:
Validatable
- Direct Known Subclasses:
AntiLogToAnyBase, LogToAnyBase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intThe index of objects of this class in the scanned Function object in which they exist.Fields inherited from class Operator
AND, ASSIGN, AT, CLOSE_CIRC_BRAC, CLOSE_SQUARE_BRAC, COLON, COMBINATION, COMMA, CONST, CUBE, CUBE_ROOT, DIVIDE, EN_DASH, EQUALS, EXIT, FACTORIAL, GREATER_OR_EQUALS, GREATER_THAN, INVERSE, LESS_OR_EQUALS, LESS_THAN, MINUS, MULTIPLY, name, OPEN_CIRC_BRAC, OPEN_SQUARE_BRAC, operators, OR, PERMUTATION, PLUS, POWER, REMAINDER, ROOT, SEMI_COLON, SPACE, SQUARE, STORE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Operator
getName, getPrecedence, isAssignmentOperator, isAtOperator, isBinaryOperator, isBracket, isClosingBrace, isClosingBracket, isColon, isComma, isConstantStoreCommand, isCube, isCubeRoot, isEqualsOperator, isExitCommand, isFactorial, isInverse, isLogicOperator, isMulOrDiv, isMulOrDivOrRemOrPermOrCombOrPow, isOpeningBrace, isOpeningBracket, isOperatorString, isPermOrComb, isPlusOrMinus, isPower, isRemainder, isSemiColon, isSquare, isSquareRoot, isStoreCommand, isUnaryPostOperator, isUnaryPreOperator, setName, validateAll
-
Field Details
-
index
private int indexThe index of objects of this class in the scanned Function object in which they exist.
-
-
Constructor Details
-
LogOrAntiLogToAnyBase
-
-
Method Details
-
setIndex
public void setIndex(int index) - Parameters:
index- sets the index
-
getIndex
public int getIndex() -
validate
- Specified by:
validatein interfaceValidatable- Parameters:
scan- The scanner output- Returns:
- true if valid
-