public class DType extends Object
| Constructor and Description |
|---|
DType(Shape shape,
String name,
DType baseType) |
| Modifier and Type | Method and Description |
|---|---|
DType |
getBaseType() |
int |
getBitIndex() |
String |
getCompleteName() |
String |
getName() |
String |
getPackageName() |
List<DRule> |
getRawRules() |
List<DRule> |
getRules() |
Shape |
getShape() |
boolean |
hasRules() |
void |
internalAdjustType(DType baseType) |
boolean |
isAssignmentCompatible(DType type2)
Can type2 be used where this is expected.
|
boolean |
isNumericShape() |
boolean |
isRelationShape() |
boolean |
isScalarShape() |
boolean |
isShape(Shape target) |
boolean |
isStructShape() |
void |
setBitIndex(int bitIndex) |
void |
setPackageName(String packageName) |
String |
toString() |
public boolean isShape(Shape target)
public boolean isScalarShape()
public boolean isNumericShape()
public boolean isRelationShape()
public Shape getShape()
public String getName()
public DType getBaseType()
public boolean isAssignmentCompatible(DType type2)
type2 - derived classpublic boolean hasRules()
public String getPackageName()
public void setPackageName(String packageName)
public String getCompleteName()
public int getBitIndex()
public void setBitIndex(int bitIndex)
public boolean isStructShape()
public void internalAdjustType(DType baseType)
Copyright © 2020. All rights reserved.