Modifier and Type | Field and Description |
---|---|
protected static SimpleEnvironment |
q2Environment |
apply, applyToArgs, booleanType, emptyStringLeft, emptyStringRight, FOLLOW_R5RS, FOLLOW_R6RS, FOLLOW_R7RS, forEach, instanceOf, isEq, isEqual, isEqv, isEven, isOdd, kawaEnvironment, map, not, nullEnvironment, numEqu, numGEq, numGrt, numLEq, numLss, r4Environment, r5Environment, r5rsInstance, r6Environment, r6rsInstance, r7rsInstance
bracket_apply_sym, bracket_list_sym, constructNamespace, defaultReadTable, dots3_sym, entityNamespace, getNamedPartLocation, lookup_sym, quasiquote_str, quasiquote_sym, quote_str, 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_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() |
LispReader |
getLexer(gnu.kawa.io.InPort inp,
SourceMessages messages) |
java.lang.String |
getName() |
Procedure |
getPrompter() |
static Q2 |
getQ2Instance() |
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, getR5rsInstance, getR6rsInstance, getR7rsInstance, getStandardToFollow, getTypeMap, getTypeValue, keywordsAreSelfEvaluating
declFromField, defSntxStFld, defSntxStFld, fromLangSymbol, getNamedType, getPackageStyleType, 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, getDefaultLanguage, getEnvironment, getEnvPropertyFor, getEnvPropertyFor, getExtensions, getInstance, getInstance, getInstanceFromFilenameExtension, getLangEnvironment, getLangTypeFor, getLanguages, getNewEnvironment, getOutputConsumer, getSymbol, getTypeFor, getTypeFor, getTypeFor, getTypeFor, hasNamespace, hasSeparateFunctionNamespace, isTrue, isValidJavaName, loadClass, lookup, lookupBuiltin, mangleName, mangleNameIfNeeded, noValue, parse, parse, parse, parse, registerLanguage, restoreCurrent, runAsApplication, setCurrentLanguage, setDefaults, setSaveCurrent, unionType
protected static final SimpleEnvironment q2Environment
public Q2()
protected Q2(Environment env)
public static Q2 getQ2Instance()
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 Procedure getPrompter()
getPrompter
in class Language
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.