Package | Description |
---|---|
gnu.commonlisp.lang | |
gnu.expr |
Supports
Expression ,
and various related classes need to compile programming languages. |
gnu.jemacs.lang |
Contains classes to implement the Emacs Lisp language.
|
gnu.kawa.lispexpr |
Support classes for compiling and running Lisp languages.
|
gnu.q2.lang |
Support for the experimental Q2 language.
|
gnu.xquery.lang | |
kawa.lang |
Core Kawa classes for Scheme and Lisp compile-time.
|
kawa.standard |
Primitive Scheme syntax and functions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
defun.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
boolean |
defvar.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
Modifier and Type | Class and Description |
---|---|
class |
CatchClause
A "catch" clause of a "try-catch" form.
|
class |
ClassExp |
class |
FluidLetExp
Class used to implement "fluid-let" for Scheme and "let" for Emacs.
|
class |
LambdaExp
Class used to implement Scheme lambda expressions.
|
class |
LetExp
Class used to implement "let" syntax (and variants) for Scheme.
|
class |
ModuleExp
Class used to implement Scheme top-level environments.
|
class |
ObjectExp
An expression that evaluated to an instance of an anonymous class.
|
Modifier and Type | Field and Description |
---|---|
ScopeExp |
Declaration.context |
protected ScopeExp |
Compilation.current_scope |
Modifier and Type | Method and Description |
---|---|
ScopeExp |
Compilation.currentScope() |
ScopeExp |
Declaration.getContext()
Return the ScopeExp that contains (declares) this Declaration.
|
ScopeExp |
ThisExp.getContextScope() |
ScopeExp |
ScopeExp.getOuter()
Return the statically enclosing binding contour.
|
ScopeExp |
Compilation.setPushCurrentScope(ScopeExp scope) |
ScopeExp |
ScopeExp.topLevel()
Return the outermost non-module scope, if there is one.
|
Modifier and Type | Method and Description |
---|---|
static ThisExp |
ThisExp.makeGivingContext(ScopeExp context) |
boolean |
ScopeExp.nestedIn(ScopeExp outer)
True if given scope is nesed in this scope, perhaps indirectly.
|
static int |
ScopeExp.nesting(ScopeExp sc) |
void |
VarValueTracker.noteUnitialized(ScopeExp scope) |
void |
Declaration.noteValueFromLet(ScopeExp letter) |
void |
NameLookup.pop(ScopeExp exp) |
void |
Compilation.pop(ScopeExp scope) |
void |
FindTailCalls.postVisitDecls(ScopeExp exp) |
void |
NameLookup.push(ScopeExp exp) |
void |
Compilation.push(ScopeExp scope) |
protected void |
ResolveNames.push(ScopeExp exp) |
void |
Compilation.pushPendingImport(ModuleInfo info,
ScopeExp defs,
Translator.FormStack forms,
require.DeclSetMapper mapper) |
void |
Compilation.pushScope(ScopeExp scope) |
void |
Compilation.setCurrentScope(ScopeExp scope)
Set
currentScope() . |
void |
ScopeExp.setOuter(ScopeExp outer) |
void |
Compilation.setPopCurrentScope(ScopeExp old) |
ScopeExp |
Compilation.setPushCurrentScope(ScopeExp scope) |
protected Expression |
ChainLambdas.visitApplyExp(ApplyExp exp,
ScopeExp scope) |
protected Expression |
ChainLambdas.visitBeginExp(BeginExp exp,
ScopeExp scope) |
protected Expression |
ChainLambdas.visitCaseExp(CaseExp exp,
ScopeExp scope) |
protected Expression |
ChainLambdas.visitClassExp(ClassExp exp,
ScopeExp scope) |
protected void |
ExpVisitor.visitDeclarationTypes(ScopeExp exp) |
protected Expression |
ChainLambdas.visitIfExp(IfExp exp,
ScopeExp scope) |
protected Expression |
ChainLambdas.visitLambdaExp(LambdaExp exp,
ScopeExp scope) |
protected Expression |
ChainLambdas.visitLetExp(LetExp exp,
ScopeExp scope) |
protected void |
InlineCalls.visitRemainingDeclaredLambdas(ScopeExp exp)
Visit any named functions that haven't been visit yet.
|
protected R |
ExpVisitor.visitScopeExp(ScopeExp exp,
D d) |
protected Expression |
ChainLambdas.visitScopeExp(ScopeExp exp,
ScopeExp scope) |
protected Expression |
InlineCalls.visitScopeExp(ScopeExp exp,
Type required) |
protected Expression |
ResolveNames.visitScopeExp(ScopeExp exp,
java.lang.Void ignored) |
protected Expression |
ChainLambdas.visitSetExp(SetExp sexp,
ScopeExp scope) |
Constructor and Description |
---|
ThisExp(ScopeExp context) |
Modifier and Type | Method and Description |
---|---|
boolean |
defgroup.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
boolean |
defcustom.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefineNamespace.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
Modifier and Type | Method and Description |
---|---|
void |
Q2Translator.scanForm(java.lang.Object st,
ScopeExp defs) |
void |
DefineOp.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
Modifier and Type | Method and Description |
---|---|
protected void |
XQResolveNames.push(ScopeExp exp) |
Modifier and Type | Class and Description |
---|---|
class |
PatternScope
Bindings from a
syntax-case /syntax-rules pattern. |
class |
TemplateScope
A scope created when expanding a SyntaxTemplate.
|
Modifier and Type | Method and Description |
---|---|
ScopeExp |
Macro.getCapturedScope() |
Modifier and Type | Method and Description |
---|---|
Declaration |
Translator.define(java.lang.Object name,
ScopeExp defs) |
Declaration |
Translator.define(java.lang.Object name,
SyntaxForm nameSyntax,
ScopeExp defs) |
Declaration |
Translator.define(java.lang.Object name,
TemplateScope templateScope,
ScopeExp defs) |
Declaration |
BindDecls.define(Symbol name,
TemplateScope templateScope,
ScopeExp scope,
Translator comp) |
static boolean |
SyntaxPattern.literalIdentifierEq(java.lang.Object id1,
ScopeExp sc1,
java.lang.Object id2,
ScopeExp sc2) |
static TemplateScope |
TemplateScope.make(Translator tr,
ScopeExp savedScope) |
protected Expression |
Translator.makeBody(Pair head,
ScopeExp scope)
Combine a list of zero or more expression forms into a "body".
|
Declaration |
Translator.makeRenamedAlias(Declaration decl,
ScopeExp templateScope) |
Declaration |
Translator.makeRenamedAlias(java.lang.Object name,
Declaration decl,
ScopeExp templateScope) |
void |
Translator.noteAccess(java.lang.Object name,
ScopeExp scope)
Note that we reference name in a given scope.
|
void |
BindDecls.parseBracketListPattern(Pair patpair,
int scanNesting,
ScopeExp scope,
Declaration decl,
Translator comp)
Handle patterns of the form {@code [pat1 ...
|
java.lang.Object[] |
BindDecls.parsePatternCar(Pair patList,
Expression init,
TemplateScope templateScope,
int scanNesting,
ScopeExp scope,
Translator comp) |
java.lang.Object[] |
BindDecls.parsePatternCar(Pair patList,
int scanNesting,
ScopeExp scope,
Translator comp)
Parse a declaration or more generally a pattern.
|
Expression |
Translator.rewrite_car(Pair pair,
ScopeExp templateScope) |
LList |
Translator.scanBody(java.lang.Object body,
ScopeExp defs,
boolean makeList)
Recursive helper method for rewrite_body.
|
boolean |
Syntax.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr)
Check if a statement is a definition, for initial pass.
|
void |
Translator.scanForm(java.lang.Object st,
ScopeExp defs) |
void |
AutoloadSyntax.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
void |
Macro.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
void |
Syntax.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
void |
Macro.setCapturedScope(ScopeExp scope) |
static void |
BindDecls.setInitializer(Declaration decl,
Expression init,
ScopeExp scope,
Translator comp) |
Constructor and Description |
---|
TemplateScope(ScopeExp outer) |
Modifier and Type | Method and Description |
---|---|
void |
define_library.createModulePass(Pair st,
ScopeExp defs,
Translator tr) |
static void |
define_autoload.findAutoloadComments(LispReader in,
java.lang.String filename,
ScopeExp defs,
Translator tr) |
static boolean |
ImportFromLibrary.handleImport(java.lang.String implicitSource,
java.lang.String explicitSource,
java.lang.String requestedClass,
ScopeExp defs,
Translator tr,
require.DeclSetMapper mapper)
Do the actual work of importing a module.
|
static boolean |
require.importDefinitions(java.lang.String className,
ModuleInfo info,
require.DeclSetMapper mapper,
Translator.FormStack forms,
ScopeExp defs,
Compilation tr)
Import a module with a known source path.
|
static ModuleInfo |
require.lookupModuleFromSourcePath(java.lang.String sourceName,
ScopeExp defs) |
static boolean |
define_autoload.process(java.lang.Object names,
java.lang.Object filename,
ScopeExp defs,
Translator tr) |
LList |
Include.process(java.lang.Object rest,
Translator tr,
ScopeExp defs,
boolean ignoreCase) |
boolean |
define_autoload.scanFile(java.lang.String filespec,
ScopeExp defs,
Translator tr) |
boolean |
require.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
boolean |
module_compile_options.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
boolean |
define_autoload.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
boolean |
define_class.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
boolean |
export.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
boolean |
define_unit.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
boolean |
module_static.scanForDefinitions(Pair st,
ScopeExp defs,
Translator tr) |
void |
Include.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
void |
define.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
void |
define_alias.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
void |
module_extends.scanForm(Pair form,
ScopeExp defs,
Translator tr) |
void |
IfFeature.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
void |
define_library.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
void |
define_syntax.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
void |
module_implements.scanForm(Pair form,
ScopeExp defs,
Translator tr) |
void |
module_name.scanForm(Pair form,
ScopeExp defs,
Translator tr) |
void |
begin.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
void |
with_compile_options.scanForm(Pair form,
ScopeExp defs,
Translator tr) |
void |
MatchDef.scanForm(Pair st,
ScopeExp defs,
Translator tr) |
void |
ImportFromLibrary.scanForm(Pair st,
ScopeExp defs,
Translator tr) |