public class Lisp2Compilation extends Translator
Translator.FormStack, Translator.ScanContext, Translator.ValuesFromLListcurMethodLambda, 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, debugPrintANF, debugPrintExpr, debugPrintFinalExpr, defaultCallConvention, defaultClassFileVersion, emitSourceDebugExtAttr, enableANF, 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, typeCharSequence, 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 |
|---|
Lisp2Compilation(Language language,
SourceMessages messages,
NameLookup lexical) |
| Modifier and Type | Method and Description |
|---|---|
Type |
asBooleanValue(ConditionalTarget target,
Type stackType)
Hook for language-specific handling in ConditionalTarget.
|
void |
emitPushBoolean(boolean value)
Push language-specific boxed true or false value.
|
protected void |
rewriteBody(LList list)
Process the DECLARE (if any) in a Common Lisp form.
|
appendBodyValues, checkDefaultBinding, define, define, define, errorIfNonEmpty, errorWithPosition, exp2Type, exp2Type, finishModule, getCurrentSyntax, getGlobalEnvironment, getScanContext, keywordsAreSelfEvaluating, listLength, lookup, lookupGlobal, lookupGlobal, lookupStandardEntity, makeBody, makeBody, makePair, makeRenamedAlias, makeRenamedAlias, matches, matches, matches, matchQuoted, namespaceResolve, namespaceResolve, namespaceResolve, namespaceResolvePrefix, noteAccess, parse, popForms, popPositionOf, popRenamedAlias, popScanContext, processAccesses, pushForm, pushPositionOf, pushRenamedAlias, pushScanContext, renamedAliasCount, resolveModule, rewrite_body, rewrite_car_for_lookup, rewrite_car, rewrite_car, rewrite_lookup, rewrite_pair, rewrite_with_position, rewrite, rewrite, rewrite, rewriteInBody, safeCar, safeCdr, scanBody, scanForm, selfEvaluatingSymbol, setLine, setLine, setLineOf, setScanContext, stripSyntax, wrapSyntaxaddClass, addMainClass, allocLocalField, applyFunction, cleanupAfterCompilation, compileConstant, compileConstant, compileToArchive, currentCallConvention, currentLambda, currentModule, currentScope, demangle2, demangleName, demangleName, demangleSymbolic, emitCoerceToBoolean, 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, getSourceAbsPath, getState, getSystemId, inlineOk, inlineOk, isApplyFunction, isInteractive, isPedantic, isSimpleApplyFunction, isStableSourceLocation, isStatic, letDone, letEnter, letStart, letVariable, letVariable, loadCallContext, loadClassRef, loopBody, loopCond, loopDone, loopEnter, loopRepeat, loopRepeatDone, loopStart, loopVariable, makeCoercion, makeCoercion, makeQuoteExp, makeRunnable, mangleClassName, mangleName, mangleName, mangleNameIfNeeded, mangleQualifiedName, mangleSymbolic, mangleURI, mustCompileHere, outputClass, pop, pop, process, push, push, 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 Lisp2Compilation(Language language, SourceMessages messages, NameLookup lexical)
public void emitPushBoolean(boolean value)
CompilationemitPushBoolean in class Compilationpublic Type asBooleanValue(ConditionalTarget target, Type stackType)
CompilationasBooleanValue in class CompilationstackType - Value to be treated as boolean, already pushed.protected void rewriteBody(LList list)
rewriteBody in class Translatorlist - The body of this expression.