Class PostscriptParser.PSSubroutine

    • Field Detail

      • level

        private int level
      • entry

        private java.lang.String entry
    • Constructor Detail

      • PSSubroutine

        public PSSubroutine​(java.lang.String operator,
                            int startPoint)
    • Method Detail

      • getSubroutine

        public java.lang.String getSubroutine()
        Gets the parsed subroutine element as unmodified string
        Returns:
        The subroutine as a string
      • parseByte

        public void parseByte​(byte cur,
                              int pos)
        Description copied from class: PostscriptParser.PSElement
        Passes responsibility for processing the byte stream to the PostScript object
        Specified by:
        parseByte in class PostscriptParser.PSElement
        Parameters:
        cur - The byte currently being read
        pos - The position of the given byte