Home
last modified time | relevance | path

Searched refs:ScopeExp (Results 1 – 25 of 210) sorted by relevance

123456789

/dports/lang/kawa/kawa-3.1.1/gnu/expr/
H A DScopeExp.java9 public abstract class ScopeExp extends Expression class
116 public ScopeExp () { } in ScopeExp() method in ScopeExp
119 private ScopeExp outer;
122 public ScopeExp getOuter() { return outer; } in getOuter()
128 ScopeExp exp = this; in currentLambda()
139 public ScopeExp topLevel () in topLevel()
141 ScopeExp exp = this; in topLevel()
144 ScopeExp outer = exp.getOuter(); in topLevel()
153 ScopeExp exp = this; in currentModule()
277 public static int nesting (ScopeExp sc) in nesting()
[all …]
H A DChainLambdas.java17 public class ChainLambdas extends ExpExpVisitor<ScopeExp> {
33 protected Expression visitBeginExp(BeginExp exp, ScopeExp scope) { in visitBeginExp()
52 protected Expression visitApplyExp(ApplyExp exp, ScopeExp scope) { in visitApplyExp()
87 protected Expression visitSetExp(SetExp sexp, ScopeExp scope) { in visitSetExp()
99 protected Expression visitIfExp(IfExp exp, ScopeExp scope) { in visitIfExp()
115 protected Expression visitCaseExp(CaseExp exp, ScopeExp scope) { in visitCaseExp()
145 protected Expression visitScopeExp (ScopeExp exp, ScopeExp scope) in visitScopeExp()
155 protected Expression visitLetExp (LetExp exp, ScopeExp scope) in visitLetExp()
184 protected Expression visitLambdaExp (LambdaExp exp, ScopeExp scope) in visitLambdaExp()
209 protected Expression visitClassExp (ClassExp exp, ScopeExp scope) in visitClassExp()
H A DThisExp.java20 ScopeExp context;
38 public ScopeExp getContextScope () { return context; } in getContextScope()
45 public ThisExp(ScopeExp context) in ThisExp()
61 public static ThisExp makeGivingContext (ScopeExp context) in makeGivingContext()
76 ScopeExp context = getContextScope(); in compile()
H A DResolveNames.java42 protected void push (ScopeExp exp) in push()
47 protected Expression visitScopeExp (ScopeExp exp, Void ignored) in visitScopeExp()
H A DCompilation.java2253 public void setCurrentScope (ScopeExp scope) in setCurrentScope()
2262 ScopeExp sc = scope; in setCurrentScope()
2276 public ScopeExp setPushCurrentScope (ScopeExp scope) { in setPushCurrentScope()
2277 ScopeExp old = currentScope(); in setPushCurrentScope()
2288 void pushChain (ScopeExp scope, ScopeExp limit) in pushChain()
2318 public void push (ScopeExp scope) in push()
2338 public void pop (ScopeExp scope) in pop()
2613 ScopeExp let = loop.getOuter(); in loopRepeat()
2621 ScopeExp let = loopLambda.getOuter(); in loopDone()
2633 ScopeExp let = loopLambda.getOuter(); in loopRepeatDone()
[all …]
H A DLetExp.java11 public class LetExp extends ScopeExp
33 int level = ScopeExp.nesting(this); in apply()
H A DFindCapturedVars.java284 ScopeExp sc = decl.getContext(); in capture()
426 ScopeExp methodLambda = heapLambda; in capture()
428 ScopeExp outer = methodLambda.getOuter(); in capture()
560 ScopeExp context = exp.getContextScope(); in visitThisExp()
/dports/lang/kawa/kawa-3.1.1/kawa/lang/
H A DMacro.java28 ScopeExp capturedScope;
30 public ScopeExp getCapturedScope() { in getCapturedScope()
42 public void setCapturedScope(ScopeExp scope) { in setCapturedScope()
126 ScopeExp scope = (ScopeExp) lval[2]; in rewriteIfNeeded()
132 ScopeExp savedScope = xtr.setPushCurrentScope(scope); in rewriteIfNeeded()
217 public void scanForm(Pair st, ScopeExp defs, Translator tr) { in scanForm()
H A DTranslator.java438 ScopeExp save_scope = current_scope; in rewrite_pair()
835 ScopeExp scope = current_scope; in rewrite()
1550 ScopeExp savedScope = current_scope;
1846 ScopeExp saveScope = current_scope;
1850 ScopeExp scope = (ScopeExp) notedAccess.get(i+1);
1923 ScopeExp defs = (ScopeExp) pendingImports.elementAt(i++);
1994 ScopeExp templateScope)
2003 ScopeExp templateScope)
2031 ScopeExp templateScope = alias.context;
2068 ScopeExp defs) {
[all …]
H A DSyntax.java55 public void scanForm (Pair st, ScopeExp defs, Translator tr) in scanForm()
69 public boolean scanForDefinitions(Pair st, ScopeExp defs, Translator tr) in scanForDefinitions()
H A DBindDecls.java35 ScopeExp scope, Translator comp) { in define()
72 ScopeExp scope, in parsePatternCar()
78 int scanNesting, ScopeExp scope, in parsePatternCar()
201 (Pair patpair, int scanNesting, ScopeExp scope, Declaration decl, Translator comp) { in parseBracketListPattern()
292 …public static void setInitializer(Declaration decl, Expression init, ScopeExp scope, Translator co… in setInitializer()
329 Declaration addCondition(ScopeExp scope, Object condition) { in addCondition()
H A DTemplateScope.java29 public TemplateScope (ScopeExp outer) in TemplateScope()
39 public static TemplateScope make (Translator tr, ScopeExp savedScope) { in make()
H A DSyntaxPattern.java361 ScopeExp current = tr.currentScope(); in translate()
362 ScopeExp scope1 = syntax == null ? current : syntax.getScope(); in translate()
365 ScopeExp scope2; in translate()
605 ScopeExp sc1 = curSyntax instanceof Macro in match()
608 ScopeExp sc2 = syntax == null ? tr.currentScope() in match()
655 public static boolean literalIdentifierEq(Object id1, ScopeExp sc1, in literalIdentifierEq()
656 Object id2, ScopeExp sc2) { in literalIdentifierEq()
/dports/lang/kawa/kawa-3.1.1/kawa/standard/
H A Ddefine_autoload.java29 public boolean scanForDefinitions (Pair st, ScopeExp defs, Translator tr) in scanForDefinitions()
69 public boolean scanFile(String filespec, ScopeExp defs, Translator tr) in scanFile()
141 ScopeExp defs, Translator tr) in findAutoloadComments()
235 ScopeExp defs, Translator tr) in process()
H A Ddefine_syntax.java52 public void scanForm(Pair st, ScopeExp defs, Translator tr) { in scanForm()
91 ScopeExp scope = syntax != null ? syntax.getScope() : tr.currentScope(); in scanForm()
130 ScopeExp defs = decl.getContext(); in rewriteForm()
H A Ddefine_library.java22 public void scanForm(Pair st, ScopeExp defs, Translator tr) { in scanForm()
30 public void createModulePass(Pair st, ScopeExp defs, Translator tr) { in createModulePass()
96 void scanModulePass(Object form, ScopeExp defs, Translator tr) { in scanModulePass()
H A Dlet.java45 ScopeExp defs, Translator comp) { in rewrite()
49 ScopeExp.duplicateDeclarationError((Declaration) old, in rewrite()
H A Ddefine_class.java32 public boolean scanForDefinitions(Pair st, ScopeExp defs, Translator tr) in scanForDefinitions()
88 ScopeExp save_scope = tr.currentScope(); in scanForDefinitions()
H A Dbegin.java22 public void scanForm(Pair st, ScopeExp defs, Translator tr) { in scanForm()
H A Dmodule_compile_options.java13 public boolean scanForDefinitions(Pair st, ScopeExp defs, Translator tr) in scanForDefinitions()
H A DInclude.java33 public void scanForm(Pair st, ScopeExp defs, Translator tr) { in scanForm()
42 public LList process(Object rest, Translator tr, ScopeExp defs, in process()
H A Dmodule_extends.java11 public void scanForm (Pair form, ScopeExp defs, Translator tr) { in scanForm()
H A Drequire.java131 public boolean scanForDefinitions (Pair st, ScopeExp defs, Translator tr) { in scanForDefinitions()
207 public static ModuleInfo lookupModuleFromSourcePath (String sourceName, ScopeExp defs) { in lookupModuleFromSourcePath()
225 ScopeExp defs, Compilation tr) { in importDefinitions()
393 ScopeExp.duplicateDeclarationError(old, adecl, tr); in importDefinitions()
H A Dmodule_implements.java12 public void scanForm (Pair form, ScopeExp defs, Translator tr) { in scanForm()
/dports/lang/kawa/kawa-3.1.1/gnu/jemacs/lang/
H A Ddefgroup.java9 public boolean scanForDefinitions(Pair st, ScopeExp defs, Translator tr) in scanForDefinitions()

123456789