public class SchemeCompilation extends Translator
Translator.FormStack, Translator.ValuesFromLList| Modifier and Type | Field and Description |
|---|---|
static Declaration |
applyFieldDecl |
static Lambda |
lambda |
static repl |
repl |
curMethodLambda, currentMacroDefinition, formStack, getNamedPartDecl, matchArray, patternScope, pendingForm, templateScopeDecl, xmlElementNamespacesapply0args, apply0method, apply1args, apply1method, apply2args, apply2method, apply3method, apply4method, applyCpsMethod, applymethods, applyNargs, applyNmethod, argsCallContextField, BODY_PARSED, CALL_WITH_CONSUMER, CALL_WITH_CONTINUATIONS, CALL_WITH_RETURN, CALL_WITH_TAILCALLS, CALL_WITH_UNSPECIFIED, CLASS_WRITTEN, classPrefix, classPrefixDefault, COMPILE_SETUP, COMPILED, curClass, curLambda, current_scope, currentOptions, debugPrintExpr, debugPrintFinalExpr, defaultCallConvention, defaultClassFileVersion, emitSourceDebugExtAttr, ERROR_SEEN, explicit, exprStack, falseConstant, fullTailCallsVariable, getCallContextInstanceMethod, getCurrentEnvironmentMethod, immediate, inlineOk, int1Args, javaStringType, language, lexer, lexical, mainClass, mainLambda, mainMethodVariable, messages, method, MODULE_NONSTATIC, MODULE_STATIC, MODULE_STATIC_DEFAULT, MODULE_STATIC_RUN, moduleClass, moduleStatic, mustCompile, noArgsField, objArrayType, options, pcCallContextField, pendingImports, PRE_WALKED, procCallContextField, PROLOG_PARSED, PROLOG_PARSING, RESOLVED, scmBooleanType, scmKeywordType, scmListType, scmSequenceType, string1Arg, subModuleMap, sym1Arg, thisDecl, trueConstant, typeApplet, typeCallContext, typeClass, typeClassType, typeConstVector, typeConsumer, typeEnvironment, typeFieldLocation, typeLanguage, typeList, typeLocation, typeMethodProc, typeModuleBody, typeModuleMethod, typeModuleMethodWithContext, typeObject, typeObjectType, typePair, typeProcedure, typeProcedure0, typeProcedure1, typeProcedure2, typeProcedure3, typeProcedure4, typeProcedureArray, typeProcedureN, typeRunnable, typeRunnableModule, typeServlet, typeStaticFieldLocation, typeString, typeSymbol, typeType, typeValues, WALKED, warnAsError, warnInvokeUnknownMethod, warnUndefinedVariable, warnUnknownMember, warnUnreachable, warnUnused, warnVoidUsed, writeImplicitClasses| Constructor and Description |
|---|
SchemeCompilation(Language language,
SourceMessages messages,
NameLookup lexical) |
SchemeCompilation(Language language,
SourceMessages messages,
NameLookup lexical,
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.
|
Expression |
applyFunction(Expression func)
A language-dependent "apply" function for generic application.
|
Expression |
checkDefaultBinding(Symbol symbol,
Translator tr)
If a symbol is lexically unbound, look for a default binding.
|
boolean |
isApplyFunction(Expression exp) |
boolean |
isSimpleApplyFunction(Expression exp)
A simple apply function maps actual arguments to formals directly.
|
define, errorIfNonEmpty, errorWithPosition, exp2Type, exp2Type, finishModule, getCurrentSyntax, getGlobalEnvironment, keywordsAreSelfEvaluating, listLength, lookup, lookupGlobal, lookupGlobal, lookupStandardEntity, makeBody, makeBody, makePair, makeRenamedAlias, makeRenamedAlias, matches, matches, matches, matchQuoted, namespaceResolve, namespaceResolve, namespaceResolve, namespaceResolvePrefix, noteAccess, parse, popForms, popPositionOf, popRenamedAlias, processAccesses, pushForm, pushPositionOf, pushRenamedAlias, resolveModule, rewrite_body, rewrite_car_for_lookup, rewrite_car, rewrite_car, rewrite_lookup, rewrite_pair, rewrite_with_position, rewrite, rewrite, rewrite, rewriteBody, rewriteInBody, safeCar, safeCdr, scanBody, scanForm, selfEvaluatingSymbol, setLine, setLine, setLineOf, stripSyntax, wrapSyntaxaddClass, addMainClass, allocLocalField, cleanupAfterCompilation, compileConstant, compileConstant, compileToArchive, currentCallConvention, currentLambda, currentModule, currentScope, demangle2, demangleName, demangleName, emitCoerceToBoolean, emitPushBoolean, error, error, error, error, findForImmediateLiterals, findNamedClass, freeLocalField, generateApplyMethodsWithContext, generateApplyMethodsWithoutContext, generateClassName, generateConstructor, generateConstructor, generateMainMethod, generateMatchMethods, generatingApplet, generatingServlet, getBooleanOption, getBooleanOption, getCode, getColumnNumber, getConstructor, getConstructor, getCurrent, getFileName, getForNameHelper, getLanguage, getLineNumber, getMessages, getMinfo, getModule, getModuleType, getPublicId, getState, getSystemId, inlineOk, inlineOk, isPedantic, isStableSourceLocation, isStatic, letDone, letEnter, letStart, letVariable, letVariable, loadCallContext, loadClassRef, loopBody, loopCond, loopDone, loopEnter, loopRepeat, loopRepeatDone, loopStart, loopVariable, makeCoercion, makeCoercion, makeQuoteExp, makeRunnable, mangleName, mangleName, mangleNameIfNeeded, mangleURI, mustCompileHere, outputClass, pop, pop, process, push, push, pushNewModule, pushNewModule, pushPendingImport, pushScope, registerForImmediateLiterals, resolve, restoreCurrent, setColumn, setCurrent, setCurrentScope, setEvalName, setFile, setInteractiveName, setLine, setLine, setLine, setLine, setLocation, setMessages, setModule, setModuleName, setPedantic, setPopCurrentScope, setPushCurrentScope, setSaveCurrent, setSharedModuleDefs, setState, setupLiterals, sharedModuleDefs, syntaxError, toString, usedClass, usingCallContext, usingCPStyle, usingTailCalls, warnAsError, warnInvokeUnknownMethod, warnUndefinedVariable, warnUnknownMember, warnUnreachable, warnUnused, warnVoidUsedpublic static final Declaration applyFieldDecl
public static final repl repl
public static final Lambda lambda
public SchemeCompilation(Language language, SourceMessages messages, NameLookup lexical, Environment env)
public SchemeCompilation(Language language, SourceMessages messages, NameLookup lexical)
public Expression applyFunction(Expression func)
TranslatorapplyFunction in class Translatorpublic boolean isApplyFunction(Expression exp)
isApplyFunction in class Compilationpublic boolean isSimpleApplyFunction(Expression exp)
CompilationisSimpleApplyFunction in class Compilationpublic boolean appendBodyValues()
appendBodyValues in class Translatorpublic Expression checkDefaultBinding(Symbol symbol, Translator tr)
typename? as a type predicate,
->typename as a conversion function,
plus whatever the overridden method handles.checkDefaultBinding in class Translator