gnu.jemacs.lang
Class SaveExcursion

java.lang.Object
  extended by kawa.lang.Syntax
      extended by gnu.jemacs.lang.SaveExcursion
All 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(java.lang.Object obj, Translator tr)
          Re-write an expression that is an "application" of this Syntax object.
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, rewriteForm, rewriteForm, scanForDefinitions, scanForm, setName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeSaveExcursion

public static ClassType typeSaveExcursion

typeBuffer

public static ClassType typeBuffer
Constructor Detail

SaveExcursion

public SaveExcursion(boolean bufferOnly)
Method Detail

rewrite

public Expression rewrite(java.lang.Object obj,
                          Translator tr)
Description copied from class: Syntax
Re-write an expression that is an "application" of this Syntax object.

Overrides:
rewrite in class Syntax
Parameters:
obj - the arguments to this "application" (i.e. the cdr of the macro/builtin invokation)
tr - the Translator that provides context
Returns:
the re-written expression

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.


restoreBufferPointMark

public static void restoreBufferPointMark(Buffer buffer,
                                          long pointMark)