Number of bits used to encode the column number
Mask to decode the column number
Number of bits used to encode the line number
Mask to decode the line number
Returns the column number of the encoded position.
Encodes a position into a single integer.
Returns the line number of the encoded position.
Returns a string representation of the encoded position.
This was made private in scala 2.11.0 but there is no alternative for us to use, so here, copy/paste for now. We renamed it because having a private vs public class with the same name causes errors with the assembly plugin and may/(will?) cause errors at runtime.