Commit | Line | Data |
---|---|---|
97eb9b75 | 1 | (in-package :parenscript) |
dcc29d49 AS |
2 | |
3 | (defgeneric js-equal (obj1 obj2) | |
4 | (:documentation "Determine if two enscript-javascript statements are equivalent")) | |
5 | ||
6 | (defgeneric js-to-strings (expression start-pos) | |
7 | (:documentation "Transform an enscript-javascript expression to a string")) | |
8 | ||
9 | (defgeneric js-to-statement-strings (code-fragment start-pos) | |
10 | (:documentation "Transform an enscript-javascript code fragment to a string")) | |
11 | ||
12 | (defgeneric expression-precedence (expression) | |
13 | (:documentation "Returns the precedence of an enscript-javascript expression")) | |
14 | ||
15 | (defgeneric function-start-string (function) | |
16 | (:documentation "Returns the string that starts the function - this varies according to whether | |
17 | this is a lambda or a defun")) |