public final class DynamicBitFieldType extends IntegerType
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_BIT_SIZE |
| Constructor and Description |
|---|
DynamicBitFieldType(AstLocation location,
java.lang.String name,
boolean isSigned)
Constructor from AST node location, the name and the expression length.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ZserioAstVisitor visitor)
Accept zserio visitor.
|
java.math.BigInteger |
getLowerBound()
Gets lower bound for this integer type.
|
java.math.BigInteger |
getUpperBound()
Gets upper bound for this integer type.
|
boolean |
isSigned()
Checks if this integer type is signed or not.
|
getLowerBound, getUpperBoundgetName, getPackagegetLocation, visitChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocation, visitChildrenpublic static final int MAX_BIT_SIZE
public DynamicBitFieldType(AstLocation location, java.lang.String name, boolean isSigned)
location - AST node location.name - Name of the AST node taken from grammar.isSigned - True if the bit field type is signed.public void accept(ZserioAstVisitor visitor)
AstNodevisitor - Visitor to accept.public java.math.BigInteger getUpperBound()
IntegerTypegetUpperBound in class IntegerTypepublic java.math.BigInteger getLowerBound()
IntegerTypegetLowerBound in class IntegerTypepublic boolean isSigned()
IntegerTypeisSigned in class IntegerTypeLast updated 2024-10-29 12:52:38