public class EnumSumScalar extends ThreeFormScalar
Modifier and Type | Field and Description |
---|---|
protected ExprDotEvalSumMethodFactory |
sumMethodFactory |
fieldEventType, numParameters
innerExpression, streamNumLambda
Constructor and Description |
---|
EnumSumScalar(ExprDotEvalParamLambda lambda,
ObjectArrayEventType fieldEventType,
int numParameters,
ExprDotEvalSumMethodFactory sumMethodFactory) |
Modifier and Type | Method and Description |
---|---|
void |
forEachBlock(CodegenBlock block,
CodegenMethod methodNode,
ExprForgeCodegenSymbol scope,
CodegenClassScope codegenClassScope) |
EnumEval |
getEnumEvaluator() |
void |
initBlock(CodegenBlock block,
CodegenMethod methodNode,
ExprForgeCodegenSymbol scope,
CodegenClassScope codegenClassScope) |
CodegenExpression |
returnIfEmptyOptional() |
void |
returnResult(CodegenBlock block) |
EPTypeClass |
returnTypeOfMethod() |
codegen, getNumParameters, hasForEachLoop
getInnerExpression, getStreamNumLambda, getStreamNumSize
protected final ExprDotEvalSumMethodFactory sumMethodFactory
public EnumSumScalar(ExprDotEvalParamLambda lambda, ObjectArrayEventType fieldEventType, int numParameters, ExprDotEvalSumMethodFactory sumMethodFactory)
public EnumEval getEnumEvaluator()
public EPTypeClass returnTypeOfMethod()
returnTypeOfMethod
in class ThreeFormScalar
public CodegenExpression returnIfEmptyOptional()
returnIfEmptyOptional
in class ThreeFormScalar
public void initBlock(CodegenBlock block, CodegenMethod methodNode, ExprForgeCodegenSymbol scope, CodegenClassScope codegenClassScope)
initBlock
in class ThreeFormScalar
public void forEachBlock(CodegenBlock block, CodegenMethod methodNode, ExprForgeCodegenSymbol scope, CodegenClassScope codegenClassScope)
forEachBlock
in class ThreeFormScalar
public void returnResult(CodegenBlock block)
returnResult
in class ThreeFormScalar
Copyright © 2005–2021. All rights reserved.