public abstract class AbstractArithmetic extends AbstractNumerical
| 限定符和类型 | 字段和说明 |
|---|---|
protected KernelParam |
leftFactor
the left factor of arithmetic
|
protected KernelParam |
rightFactor
the right factor of arithmetic
|
targetClassblock, insnHelper| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractArithmetic(KernelProgramBlock block,
KernelParam leftFactor,
KernelParam rightFactor,
Operator operator) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
asArgument()
If current
KernelParam has used by other, than need call this method. |
protected void |
checkAsArgument()
invoke by OperatorFactory
|
void |
execute()
Do execute
|
protected void |
factorToStack()
Push the operand of numerical operation to stack
|
protected void |
initAdditionalProperties()
Template for
AbstractOperator.prepare() method. |
void |
loadToStack(KernelProgramBlock block)
Push current to a stack of specify block
|
protected void |
verifyArgument()
Template for
AbstractOperator.prepare() method. |
getResultType, pushFactorToStackfieldautoCast, checkCrement, doExecute, endingPrepare, getBlock, getCompileOrder, getOperatorSymbol, prepare, startingPreparehasNext, next, previousprotected KernelParam leftFactor
protected KernelParam rightFactor
protected AbstractArithmetic(KernelProgramBlock block, KernelParam leftFactor, KernelParam rightFactor, Operator operator)
public void loadToStack(KernelProgramBlock block)
PushStackableprotected void verifyArgument()
AbstractOperatorAbstractOperator.prepare() method. verifyArgument 在类中 AbstractOperatorprotected void checkAsArgument()
AbstractOperatorcheckAsArgument 在类中 AbstractOperatorprotected void initAdditionalProperties()
AbstractOperatorAbstractOperator.prepare() method. public void execute()
Executableexecute 在接口中 Executableexecute 在类中 AbstractOperatorprotected void factorToStack()
AbstractNumericalfactorToStack 在类中 AbstractNumericalpublic void asArgument()
KernelParamKernelParam has used by other, than need call this method.Copyright © 2015. All rights reserved.