Package ch.bailu.gtk.gsk
Class ParseLocation
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gsk.ParseLocation
- All Implemented Interfaces:
PointerInterface
A location in a parse buffer.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
the offset of the location in the parse buffer, as bytesstatic final String
the offset of the location in the parse buffer, as charactersstatic final String
the position in the line, as bytesstatic final String
the position in the line, as charactersstatic final String
the line of the location in the parse buffer -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
long
the offset of the location in the parse buffer, as byteslong
the offset of the location in the parse buffer, as characterslong
the position in the line, as byteslong
the position in the line, as characterslong
the line of the location in the parse buffervoid
setFieldBytes
(long bytes) the offset of the location in the parse buffer, as bytesvoid
setFieldChars
(long chars) the offset of the location in the parse buffer, as charactersvoid
setFieldLineBytes
(long line_bytes) the position in the line, as bytesvoid
setFieldLineChars
(long line_chars) the position in the line, as charactersvoid
setFieldLines
(long lines) the line of the location in the parse bufferMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
BYTES
the offset of the location in the parse buffer, as bytes- See Also:
-
CHARS
the offset of the location in the parse buffer, as characters- See Also:
-
LINES
the line of the location in the parse buffer- See Also:
-
LINE_BYTES
the position in the line, as bytes- See Also:
-
LINE_CHARS
the position in the line, as characters- See Also:
-
-
Constructor Details
-
ParseLocation
-
ParseLocation
public ParseLocation()
-
-
Method Details
-
getClassHandler
-
setFieldBytes
public void setFieldBytes(long bytes) the offset of the location in the parse buffer, as bytes -
getFieldBytes
public long getFieldBytes()the offset of the location in the parse buffer, as bytes -
setFieldChars
public void setFieldChars(long chars) the offset of the location in the parse buffer, as characters -
getFieldChars
public long getFieldChars()the offset of the location in the parse buffer, as characters -
setFieldLines
public void setFieldLines(long lines) the line of the location in the parse buffer -
getFieldLines
public long getFieldLines()the line of the location in the parse buffer -
setFieldLineBytes
public void setFieldLineBytes(long line_bytes) the position in the line, as bytes -
getFieldLineBytes
public long getFieldLineBytes()the position in the line, as bytes -
setFieldLineChars
public void setFieldLineChars(long line_chars) the position in the line, as characters -
getFieldLineChars
public long getFieldLineChars()the position in the line, as characters
-