Implementation of Position interface from Language Server Protocol

DO NOT add new properties or methods to this class that are specific to Moonshine IDE or to a particular language. Create a subclass for new properties or create a utility function for methods.

See also:

Static methods

staticparse(original:Dynamic):Position

Constructor

@:value({ character : 0, line : 0 })new(line:Int = 0, character:Int = 0)

Variables

character:Int

Character offset on a line in a document (zero-based).

line:Int

Line offset in a document (zero-based).