|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ix.test.xml.LispSourceText ix.iscript.IScriptLispSource
public class IScriptLispSource
An object that can be used to wrap an I-Script Expression
that is written in a Lisp-like syntax. It carries the knowledge
of how to translate the expression into the tree form used by
Interpreter
s.
This allows source code to be written in XML using the ordinary textual syntax. For example:
<i-script-lisp-source> (defun f (x) (* x x)) (defun g (x y) (/ (+ x y) 2)) </i-script-lisp-source>
Field Summary |
---|
Fields inherited from class ix.test.xml.LispSourceText |
---|
parser, text |
Constructor Summary | |
---|---|
IScriptLispSource(java.lang.String text)
|
Method Summary |
---|
Methods inherited from class ix.test.xml.LispSourceText |
---|
equals, getLanguage, getSource, getSyntax, parseSource, readSource, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IScriptLispSource(java.lang.String text)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |