gnu.jemacs.lang

Class SaveExcursion

Implemented Interfaces:
Named, Printable

public class SaveExcursion
extends Syntax

Field Summary

static ClassType
typeBuffer
static ClassType
typeSaveExcursion

Constructor Summary

SaveExcursion(boolean bufferOnly)

Method Summary

static void
restoreBufferPointMark(Buffer buffer, long pointMark)
Expression
rewrite(Object obj, Translator tr)
static long
savePointMark(Buffer buffer)
Save point and (in the future) mark of a buffer.

Methods inherited from class kawa.lang.Syntax

getName, getSymbol, print, rewrite, rewriteForm, rewriteForm, scanForDefinitions, scanForm, setName, setName

Field Details

typeBuffer

public static ClassType typeBuffer

typeSaveExcursion

public static ClassType typeSaveExcursion

Constructor Details

SaveExcursion

public SaveExcursion(boolean bufferOnly)

Method Details

restoreBufferPointMark

public static void restoreBufferPointMark(Buffer buffer,
                                          long pointMark)

rewrite

public Expression rewrite(Object obj,
                          Translator tr)
Overrides:
rewrite in interface Syntax

savePointMark

public static long savePointMark(Buffer buffer)
Save point and (in the future) mark of a buffer. Returns a pair (packed in a long) of buffer posistions.