2.3 <GskParseLocation>

Structure: <GskParseLocation>

A location in a parse buffer.

Fields

bytes

the offset of the location in the parse buffer, as bytes

chars

the offset of the location in the parse buffer, as characters

lines

the line of the location in the parse buffer

line-bytes

the position in the line, as bytes

line-chars

the position in the line, as characters

Procedures

Procedure: make-parse-location [bytes] [chars] [lines] [line-bytes] [line-chars] ⇒ struct
Procedure: parse-location:bytes self ⇒ bytes
Procedure: parse-location:chars self ⇒ chars
Procedure: parse-location:line-bytes self ⇒ line-bytes
Procedure: parse-location:line-chars self ⇒ line-chars
Procedure: parse-location:lines self ⇒ lines
Procedure: parse-location:set-bytes! self bytes
Procedure: parse-location:set-chars! self chars
Procedure: parse-location:set-line-bytes! self line-bytes
Procedure: parse-location:set-line-chars! self line-chars
Procedure: parse-location:set-lines! self lines