Uses of Class
gnu.expr.ScopeExp
-
Packages that use ScopeExp Package Description gnu.expr SupportsExpression
, and various related classes need to compile programming languages.gnu.kawa.lispexpr gnu.xquery.lang kawa.lang kawa.standard -
-
Uses of ScopeExp in gnu.expr
Subclasses of ScopeExp in gnu.expr Modifier and Type Class 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.Fields in gnu.expr declared as ScopeExp Modifier and Type Field Description ScopeExp
Declaration. context
protected ScopeExp
Compilation. current_scope
Methods in gnu.expr that return ScopeExp Modifier and Type Method 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.Methods in gnu.expr with parameters of type ScopeExp Modifier and Type Method 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
Compilation. pop(ScopeExp scope)
void
NameLookup. pop(ScopeExp exp)
void
FindTailCalls. postVisitDecls(ScopeExp exp)
void
Compilation. push(ScopeExp scope)
void
NameLookup. push(ScopeExp exp)
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)
SetcurrentScope()
.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 Expression
ChainLambdas. visitScopeExp(ScopeExp exp, ScopeExp scope)
protected R
ExpVisitor. visitScopeExp(ScopeExp exp, D d)
protected Expression
InlineCalls. visitScopeExp(ScopeExp exp, Type required)
protected Expression
ResolveNames. visitScopeExp(ScopeExp exp, Void ignored)
protected Expression
ChainLambdas. visitSetExp(SetExp sexp, ScopeExp scope)
Constructors in gnu.expr with parameters of type ScopeExp Constructor Description ThisExp(ScopeExp context)
-
Uses of ScopeExp in gnu.kawa.lispexpr
Methods in gnu.kawa.lispexpr with parameters of type ScopeExp Modifier and Type Method Description boolean
DefineNamespace. scanForDefinitions(Pair st, ScopeExp defs, Translator tr)
-
Uses of ScopeExp in gnu.xquery.lang
Methods in gnu.xquery.lang with parameters of type ScopeExp Modifier and Type Method Description protected void
XQResolveNames. push(ScopeExp exp)
-
Uses of ScopeExp in kawa.lang
Subclasses of ScopeExp in kawa.lang Modifier and Type Class Description class
PatternScope
Bindings from asyntax-case
/syntax-rules
pattern.class
TemplateScope
A scope created when expanding a SyntaxTemplate.Methods in kawa.lang that return ScopeExp Modifier and Type Method Description ScopeExp
Macro. getCapturedScope()
Methods in kawa.lang with parameters of type ScopeExp Modifier and Type Method Description Declaration
BindDecls. define(Symbol name, TemplateScope templateScope, ScopeExp scope, Translator comp)
Declaration
Translator. define(Object name, ScopeExp defs)
Declaration
Translator. define(Object name, SyntaxForm nameSyntax, ScopeExp defs)
Declaration
Translator. define(Object name, TemplateScope templateScope, ScopeExp defs)
static boolean
SyntaxPattern. literalIdentifierEq(Object id1, ScopeExp sc1, 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(Object name, Declaration decl, ScopeExp templateScope)
void
Translator. noteAccess(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[pat1 ... patN]
.Object[]
BindDecls. parsePatternCar(Pair patList, int scanNesting, ScopeExp scope, Translator comp)
Parse a declaration or more generally a pattern.Object[]
BindDecls. parsePatternCar(Pair patList, Expression init, TemplateScope templateScope, int scanNesting, ScopeExp scope, Translator comp)
Expression
Translator. rewrite_car(Pair pair, ScopeExp templateScope)
LList
Translator. scanBody(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
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
Translator. scanForm(Object st, ScopeExp defs)
void
Macro. setCapturedScope(ScopeExp scope)
static void
BindDecls. setInitializer(Declaration decl, Expression init, ScopeExp scope, Translator comp)
Constructors in kawa.lang with parameters of type ScopeExp Constructor Description TemplateScope(ScopeExp outer)
-
Uses of ScopeExp in kawa.standard
Methods in kawa.standard with parameters of type ScopeExp Modifier and Type Method Description void
define_library. createModulePass(Pair st, ScopeExp defs, Translator tr)
static void
define_autoload. findAutoloadComments(LispReader in, String filename, ScopeExp defs, Translator tr)
static boolean
ImportFromLibrary. handleImport(String implicitSource, String explicitSource, String requestedClass, ScopeExp defs, Translator tr, require.DeclSetMapper mapper)
Do the actual work of importing a module.static boolean
require. importDefinitions(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(String sourceName, ScopeExp defs)
static boolean
define_autoload. process(Object names, Object filename, ScopeExp defs, Translator tr)
LList
Include. process(Object rest, Translator tr, ScopeExp defs, boolean ignoreCase)
boolean
define_autoload. scanFile(String filespec, 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
define_unit. scanForDefinitions(Pair st, ScopeExp defs, Translator tr)
boolean
export. scanForDefinitions(Pair st, ScopeExp defs, Translator tr)
boolean
module_compile_options. scanForDefinitions(Pair st, ScopeExp defs, Translator tr)
boolean
module_static. scanForDefinitions(Pair st, ScopeExp defs, Translator tr)
boolean
require. scanForDefinitions(Pair st, ScopeExp defs, Translator tr)
void
begin. scanForm(Pair st, ScopeExp defs, Translator tr)
void
define_alias. 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
define. scanForm(Pair st, ScopeExp defs, Translator tr)
void
IfFeature. scanForm(Pair st, ScopeExp defs, Translator tr)
void
ImportFromLibrary. scanForm(Pair st, ScopeExp defs, Translator tr)
void
Include. scanForm(Pair st, ScopeExp defs, Translator tr)
void
MatchDef. scanForm(Pair st, ScopeExp defs, Translator tr)
void
module_extends. scanForm(Pair form, 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
with_compile_options. scanForm(Pair form, ScopeExp defs, Translator tr)
-