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
FieldsModifier and TypeFieldDescriptionstatic final Stringthe offset of the location in the parse buffer, as bytesstatic final Stringthe offset of the location in the parse buffer, as charactersstatic final Stringthe position in the line, as bytesstatic final Stringthe position in the line, as charactersstatic final Stringthe line of the location in the parse buffer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerlongthe offset of the location in the parse buffer, as byteslongthe offset of the location in the parse buffer, as characterslongthe position in the line, as byteslongthe position in the line, as characterslongthe line of the location in the parse buffervoidsetFieldBytes(long bytes) the offset of the location in the parse buffer, as bytesvoidsetFieldChars(long chars) the offset of the location in the parse buffer, as charactersvoidsetFieldLineBytes(long line_bytes) the position in the line, as bytesvoidsetFieldLineChars(long line_chars) the position in the line, as charactersvoidsetFieldLines(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, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-