Shared utilities for parsing and formatting bit-field definitions.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
formatBitRange(
int startBit, int width) → String -
Format a bit-range label from
startBitandwidth. -
parseBitFieldDefs(
String input, int maxBit) → List< BitFieldDef> - Parse multi-line field definitions into BitFieldDef objects.
-
parseBitRange(
String input, int maxBit) → (int, int)? -
Parse a bit range string (
high:low) or single bit index.
Constants
- expandThreshold → const int
- Number of elements/bits above which a confirmation pop-up is shown before expanding an array, struct, or bitvector.