public final class DynamicBitFieldInstantiation extends TypeInstantiation
| Constructor and Description |
|---|
DynamicBitFieldInstantiation(AstLocation location,
TypeReference typeReference,
Expression lengthExpression)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DynamicBitFieldType |
getBaseType()
Gets base type - i.e.
|
Expression |
getLengthExpression()
Gets the expression which gives dynamic bit field length.
|
java.math.BigInteger |
getLowerBound()
Gets lower bound for this integer type.
|
int |
getMaxBitSize()
Gets the maximal number of bits used by this dynamic bit field.
|
java.math.BigInteger |
getUpperBound()
Gets upper bound for this integer type.
|
void |
visitChildren(ZserioAstVisitor visitor)
Visit children of the current AST node using given visitor.
|
accept, fillInstantiationStack, getType, getTypeReferencegetLocationpublic DynamicBitFieldInstantiation(AstLocation location, TypeReference typeReference, Expression lengthExpression)
location - AST node location.typeReference - Reference to the instantiated type definition.lengthExpression - Length expression associated with this dynamic bit field type.public void visitChildren(ZserioAstVisitor visitor)
AstNodevisitChildren in interface AstNodevisitChildren in class TypeInstantiationvisitor - Visitor to use.public Expression getLengthExpression()
public int getMaxBitSize()
public java.math.BigInteger getUpperBound()
public java.math.BigInteger getLowerBound()
public DynamicBitFieldType getBaseType()
TypeInstantiationgetBaseType in class TypeInstantiationLast updated 2024-10-29 12:56:13