| Modifier and Type | Field and Description |
|---|---|
static Symbol |
defineSym |
protected static SimpleEnvironment |
q2Environment |
static Unify |
unify |
apply, applyToArgs, booleanType, emptyStringLeft, emptyStringRight, FOLLOW_R5RS, FOLLOW_R6RS, FOLLOW_R7RS, forEach, instanceOf, isEq, isEqual, isEqv, isEven, isOdd, kawaEnvironment, map, not, numEqu, numGEq, numGrt, numLEq, numLss bracket_apply_sym, bracket_list_sym, constructNamespace, defaultReadTable, dots3_sym, entityNamespace, getNamedPartLocation, lookup_sym, quasiquote_str, quasiquote_sym, quote_str, splice_colon_str, splice_colon_sym, splice_str, splice_sym, unitNamespace, unquote_str, unquotesplicing_str current, environ, FUNCTION_NAMESPACE, global, NAMESPACE_PREFIX_NAMESPACE, PARSE_CURRENT_NAMES, PARSE_EMIT_MAIN, PARSE_EXPLICIT, PARSE_FOR_APPLET, PARSE_FOR_EVAL, PARSE_FOR_LINT, PARSE_FOR_SERVLET, PARSE_IMMEDIATE, PARSE_INTERACTIVE_MODULE, PARSE_ONE_LINE, PARSE_PROLOG, requirePedantic, userEnv, VALUE_NAMESPACE | Modifier | Constructor and Description |
|---|---|
Q2 () |
|
protected |
Q2 (Environment env) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
appendBodyValues ()
Should the values of body/block be appended as multiple values?
Otherwise, just return the result of the final expression.
|
static int |
compareIndentation (int indentation1,
int indentation2)
Compare two indentation amounts.
|
ReadTable |
createReadTable ()
Create a fresh
ReadTable appropriate for this language. |
java.lang.String |
getCompilationClass () |
static Q2 |
getKashellInstance () |
LispReader |
getLexer (gnu.kawa.io.InPort inp,
SourceMessages messages) |
java.lang.String |
getName () |
java.lang.String |
getPrimaryPrompt () |
static Q2 |
getQ2Instance () |
java.lang.String |
getSecondaryPrompt () |
void |
initQ2 () |
static void |
registerEnvironment ()
The compiler insert calls to this method for applications and applets.
|
asSymbol, builtin, eval, eval, eval, exp2Type, formatType, getFormat, getInstance, getNamespaceOf, getR5rsEnvironment, getR5rsInstance, getR6rsInstance, getR7rsInstance, getStandardToFollow, getStdEnvironment, getTypeMap, getTypeValue, keywordsAreSelfEvaluating, loadClass declFromField, decodeArrayType, defSntxStFld, defSntxStFld, fromLangSymbol, getNamedType, getPackageStyleType, getTypeFor, getTypeFor, langSymbolToSymbol, parse, resolve, selfEvaluatingSymbol asType, booleanObject, booleanValue, coerceFromObject, coerceToObject, decodeType, defAliasStFld, define, defineFunction, defineFunction, defProcStFld, defProcStFld, defProcStFld, defProcStFldAs, detect, detect, detect, encodeType, eval, eval, eval, eval, eval, eval, eval, eval, eval, getCompilation, getCompilation, getDefaultLanguage, getEnvironment, getEnvPropertyFor, getEnvPropertyFor, getExtensions, getInstance, getInstance, getInstanceFromFilenameExtension, getLangEnvironment, getLangTypeFor, getLanguages, getNewEnvironment, getOutputConsumer, getSymbol, getTypeFor, getTypeFor, getTypeFor, hasNamespace, hasSeparateFunctionNamespace, isTrue, isValidJavaName, loadClass, lookup, lookupBuiltin, mangleName, noValue, parse, parse, parse, parse, registerLanguage, restoreCurrent, runAsApplication, setCurrentLanguage, setDefaults, setSaveCurrent, unionType clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final Symbol defineSym
protected static final SimpleEnvironment q2Environment
public static final Unify unify
public Q2()
protected Q2(Environment env)
public static Q2 getQ2Instance()
public static Q2 getKashellInstance()
public void initQ2()
public LispReader getLexer(gnu.kawa.io.InPort inp, SourceMessages messages)
public java.lang.String getCompilationClass()
getCompilationClass in class Scheme public static void registerEnvironment()
public boolean appendBodyValues()
Scheme appendBodyValues in class Scheme public java.lang.String getPrimaryPrompt()
getPrimaryPrompt in class LispLanguage public java.lang.String getSecondaryPrompt()
getSecondaryPrompt in class LispLanguage public ReadTable createReadTable()
LispLanguage ReadTable appropriate for this language.createReadTable in class Scheme public static int compareIndentation(int indentation1, int indentation2)
(numberOfTabs<<16)+numberOfSpaces.
A comparison is indeterminate if it depends on tab-width - e.g.
the number of tabs in indentation1 is less than indentation2,
but it's the reverse when it comes to spaces.