Class HiCountEmitter


  • public class HiCountEmitter
    extends CountEmitter
    An emitter for an array encoded as count/value pairs in a string where values can be in [0, 0xFFFF_FFFF].
    Version:
    JFlex 1.9.1
    • Constructor Detail

      • HiCountEmitter

        protected HiCountEmitter​(java.lang.String name,
                                 int translate)
        Create a count/value emitter for a specific field.
        Parameters:
        name - name of the generated array
    • Method Detail

      • emitValue

        protected void emitValue​(int val)
        Emits a single value to the current string chunk. Accepted range is [0, 0xFFFF_FFFF]
        Overrides:
        emitValue in class CountEmitter
        Parameters:
        val - the integer value to emit