jscheme
Interface SchemeSymbol

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Symbol

public interface SchemeSymbol
extends java.io.Serializable

A SchemeSymbol is an object that can be defined or not. SchemeSymbols are created using the REPL.internSchemeSymbol(string) and are initially undefined. Its value can be queried and set. Getting the value of an undefined SchemeSymbol throws an error. method. Getting


Method Summary
 java.lang.Object getGlobalValue()
          Getting the value of an undefined SchemeSymbol throws a SchemeException
 boolean isDefined()
          SchemeSymbols are initially undefined.
 java.lang.Object setGlobalValue(java.lang.Object newval)
          The value can be set to anything
 

Method Detail

isDefined

public boolean isDefined()
SchemeSymbols are initially undefined.


getGlobalValue

public java.lang.Object getGlobalValue()
Getting the value of an undefined SchemeSymbol throws a SchemeException


setGlobalValue

public java.lang.Object setGlobalValue(java.lang.Object newval)
The value can be set to anything