- All Superinterfaces:
ObjectType,Type,UnqualifiedObjectType
The CIVL-C type
$domain or $domain(n).-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.civl.abc.ast.type.IF.Type
Type.TypeKind -
Method Summary
Modifier and TypeMethodDescriptionintReturns the dimension, or -1 if the dimension is not specified.booleanDoes this domain type have a specified dimension?Methods inherited from interface dev.civl.abc.ast.type.IF.ObjectType
hasKnownConstantSize, isComplete, isConstantQualifiedMethods inherited from interface dev.civl.abc.ast.type.IF.Type
compatibleWith, equivalentTo, getId, ignoreQualifiersAtomic, isScalar, isVariablyModified, kind, print
-
Method Details
-
hasDimension
boolean hasDimension()Does this domain type have a specified dimension?- Returns:
trueiff the dimension is specified
-
getDimension
int getDimension()Returns the dimension, or -1 if the dimension is not specified.- Returns:
- dimension or -1
-