public class PadReturnTypeInference extends Object implements ReturnTypeInference
FunctionTemplate.ReturnType.PAD.| Modifier and Type | Field and Description |
|---|---|
static PadReturnTypeInference |
INSTANCE |
| Constructor and Description |
|---|
PadReturnTypeInference() |
| Modifier and Type | Method and Description |
|---|---|
TypeProtos.MajorType |
getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Defines function return type and sets precision if it pad length parameter is int expression.
|
public static final PadReturnTypeInference INSTANCE
public TypeProtos.MajorType getType(List<LogicalExpression> logicalExpressions, FunctionAttributes attributes)
getType in interface ReturnTypeInferencelogicalExpressions - logical expressionsattributes - function attributesCopyright © 2017 The Apache Software Foundation. All rights reserved.