|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Expression | |
|---|---|
| gnu.commonlisp.lang | |
| gnu.ecmascript | |
| 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.brl | |
| gnu.kawa.functions | Various core run-time functions and operators. |
| gnu.kawa.lispexpr | Support classes for compiling and running Lisp languages. |
| gnu.kawa.reflect | Contains classes to use reflection. |
| gnu.kawa.servlet | |
| gnu.kawa.xml | Classes for using XML within Kawa. |
| gnu.kawa.xslt | |
| gnu.q2.lang | Support for the experimental Q2 language. |
| gnu.xquery.lang | |
| gnu.xquery.util | |
| kawa.lang | Core Kawa classes for Scheme and Lisp compile-time. |
| kawa.standard | Primitive Scheme syntax and functions. |
| Uses of Expression in gnu.commonlisp.lang |
|---|
| Fields in gnu.commonlisp.lang declared as Expression | |
|---|---|
static Expression |
Lisp2.nilExpr
|
| Methods in gnu.commonlisp.lang that return Expression | |
|---|---|
Expression |
prog1.rewrite(java.lang.Object obj,
Translator tr)
|
Expression |
UnwindProtect.rewrite(java.lang.Object obj,
Translator tr)
|
Expression |
function.rewriteForm(Pair form,
Translator tr)
|
Expression |
setq.rewriteForm(Pair form,
Translator tr)
|
Expression |
defun.rewriteForm(Pair form,
Translator tr)
|
Expression |
defvar.rewriteForm(Pair form,
Translator tr)
|
| Uses of Expression in gnu.ecmascript |
|---|
| Fields in gnu.ecmascript declared as Expression | |
|---|---|
static Expression[] |
Parser.emptyArgs
|
static Expression |
Parser.eofExpr
|
| Methods in gnu.ecmascript that return Expression | |
|---|---|
Expression |
Parser.buildLoop(Expression init,
Expression test,
Expression incr,
Expression body)
|
Expression |
Parser.makeCallExpression(Expression exp,
Expression[] args)
|
Expression |
Parser.makeNewExpression(Expression exp,
Expression[] args)
|
Expression |
Parser.makePropertyAccessor(Expression exp,
Expression prop)
|
Expression[] |
Parser.parseArguments()
|
Expression |
Parser.parseAssignmentExpression()
|
Expression |
Parser.parseBinaryExpression(int prio)
|
Expression |
Parser.parseBlock()
|
Expression |
Parser.parseConditionalExpression()
|
Expression |
Parser.parseExpression()
|
Expression |
Parser.parseFunctionDefinition()
|
Expression |
Parser.parseIfStatement()
|
Expression |
Parser.parseLeftHandSideExpression()
|
Expression |
Parser.parsePostfixExpression()
|
Expression |
Parser.parsePrimaryExpression()
|
Expression |
Parser.parseStatement()
|
Expression |
Parser.parseUnaryExpression()
|
Expression |
Parser.parseWhileStatement()
|
Expression |
Parser.syntaxError(java.lang.String message)
|
| Methods in gnu.ecmascript with parameters of type Expression | |
|---|---|
Expression |
Parser.buildLoop(Expression init,
Expression test,
Expression incr,
Expression body)
|
Expression |
Parser.makeCallExpression(Expression exp,
Expression[] args)
|
Expression |
Parser.makeCallExpression(Expression exp,
Expression[] args)
|
Expression |
Parser.makeNewExpression(Expression exp,
Expression[] args)
|
Expression |
Parser.makeNewExpression(Expression exp,
Expression[] args)
|
Expression |
Parser.makePropertyAccessor(Expression exp,
Expression prop)
|
| Uses of Expression in gnu.expr |
|---|
| Subclasses of Expression in gnu.expr | |
|---|---|
class |
AccessExp
A common super-type for ReferenceExpa and SetExp. |
class |
ApplyExp
This class is used to represent "combination" or "application". |
class |
BeginExp
This class represents a sequence of Expressions. |
class |
BlockExp
Class used to implement a block that can be exited. |
class |
CatchClause
A "catch" clause of a "try-catch" form. |
class |
ClassExp
|
class |
ErrorExp
Class used to mark an erroneous expression |
class |
ExitExp
Expression to exit a lexically surrounding block. |
class |
FluidLetExp
Class used to implement "fluid-let" for Scheme and "let" for Emacs. |
class |
IfExp
This class represents a conditional. |
class |
LambdaExp
Class used to implement Scheme lambda expressions. |
class |
LangExp
A language-specific expression. |
class |
LetExp
Class used to implement "let" syntax (and variants) for Scheme. |
class |
ModuleExp
Class used to implement Scheme top-level environments. |
class |
ObjectExp
|
class |
QuoteExp
An Expression that evaluates to a constant value. |
class |
ReferenceExp
This class represents a variable reference (an identifier). |
class |
ScopeExp
Abstract class for expressions that add local variable bindings. |
class |
SetExp
An Expression to set (bind) or define a new value to a named variable. |
class |
SynchronizedExp
|
class |
ThisExp
Evaluates to the "this" implicit variable. |
class |
TryExp
This class represents try/catch/finally. |
| Fields in gnu.expr declared as Expression | |
|---|---|
Expression |
LambdaExp.body
|
Expression |
LetExp.body
|
Expression[] |
LambdaExp.defaultArgs
|
Expression[] |
LetExp.inits
|
static Expression[] |
Expression.noExpressions
|
Expression[] |
ClassExp.supers
List of base classes and implemented interfaces. |
protected Expression |
Declaration.typeExp
|
protected Expression |
Declaration.value
If non-null, the single expression used to set this variable. |
| Methods in gnu.expr that return Expression | |
|---|---|
static Expression |
BeginExp.canonicalize(Expression exp)
Simplifies BeginExp. |
static Expression |
BeginExp.canonicalize(Expression[] exps)
|
Expression |
ApplyExp.getArg(int i)
|
Expression[] |
ApplyExp.getArgs()
|
Expression |
CatchClause.getBody()
|
Expression |
LetExp.getBody()
|
Expression[] |
BeginExp.getExpressions()
|
Expression |
ApplyExp.getFunction()
|
Expression |
SetExp.getNewValue()
Get the Expression for calculating the new ("right-hand") value. |
Expression |
Declaration.getTypeExp()
|
Expression |
Declaration.getValue()
The value of this Declaration, if known. |
Expression |
CanInline.inline(ApplyExp exp,
InlineCalls walker,
boolean argsInlined)
Inline an application of this Procedure and return result. |
Expression |
ReferenceExp.inline(ApplyExp exp,
InlineCalls walker,
Declaration decl,
boolean argsInlined)
|
Expression |
LambdaExp.inline(ApplyExp exp,
InlineCalls walker,
Declaration decl,
boolean argsInlined)
|
Expression |
QuoteExp.inline(ApplyExp exp,
InlineCalls walker,
Declaration decl,
boolean argsInlined)
|
Expression |
Expression.inline(ApplyExp exp,
InlineCalls walker,
Declaration decl,
boolean argsInlined)
Apply inlining transformations on a given ApplyExp. |
Expression |
ApplyExp.inlineIfConstant(Procedure proc,
ExpWalker walker)
|
Expression |
ApplyExp.inlineIfConstant(Procedure proc,
SourceMessages messages)
Inline this ApplyExp if parameters are constant. |
Expression |
Compilation.loopRepeat()
|
Expression |
Compilation.loopRepeat(Expression exp)
|
Expression |
Compilation.loopRepeat(Expression[] exps)
|
static Expression |
Expression.makeWhile(java.lang.Object cond,
java.lang.Object body,
Compilation parser)
Helper method to create a `while' statement. |
Expression |
ExpWalker.noteError(java.lang.String message)
|
Expression |
Compilation.parse(java.lang.Object input)
This may not make sense, except for Lisp-like languages. |
Expression |
Expression.setLine(Expression old)
|
Expression |
Compilation.syntaxError(java.lang.String message)
Handle syntax errors (at rewrite time). |
Expression |
ExpWalker.walk(Expression exp)
Call the walk method of argument Expression. |
protected Expression |
ExitExp.walk(ExpWalker walker)
|
protected Expression |
ReferenceExp.walk(ExpWalker walker)
|
protected Expression |
ClassExp.walk(ExpWalker walker)
|
protected Expression |
IfExp.walk(ExpWalker walker)
|
protected Expression |
ApplyExp.walk(ExpWalker walker)
|
protected Expression |
BeginExp.walk(ExpWalker walker)
|
protected Expression |
LambdaExp.walk(ExpWalker walker)
|
protected Expression |
ScopeExp.walk(ExpWalker walker)
|
protected Expression |
ThisExp.walk(ExpWalker walker)
|
protected Expression |
SetExp.walk(ExpWalker walker)
|
protected Expression |
ModuleExp.walk(ExpWalker walker)
|
protected Expression |
TryExp.walk(ExpWalker walker)
|
protected Expression |
LetExp.walk(ExpWalker walker)
|
protected Expression |
LangExp.walk(ExpWalker walker)
|
protected Expression |
SynchronizedExp.walk(ExpWalker walker)
|
protected Expression |
QuoteExp.walk(ExpWalker walker)
|
protected Expression |
FluidLetExp.walk(ExpWalker walker)
|
protected Expression |
BlockExp.walk(ExpWalker walker)
|
protected Expression |
Expression.walk(ExpWalker walker)
|
protected Expression |
ObjectExp.walk(ExpWalker walker)
|
protected Expression |
FindCapturedVars.walkApplyExp(ApplyExp exp)
|
protected Expression |
PushApply.walkApplyExp(ApplyExp exp)
|
protected Expression |
ExpWalker.walkApplyExp(ApplyExp exp)
|
protected Expression |
FindTailCalls.walkApplyExp(ApplyExp exp)
|
protected Expression |
InlineCalls.walkApplyExp(ApplyExp exp)
|
Expression |
InlineCalls.walkApplyOnly(ApplyExp exp)
Walk an ApplyExp assuming function and arguments have been walked. |
protected Expression |
ExpWalker.walkBeginExp(BeginExp exp)
|
protected Expression |
FindTailCalls.walkBeginExp(BeginExp exp)
|
protected Expression |
ExpWalker.walkBlockExp(BlockExp exp)
|
protected Expression |
FindCapturedVars.walkClassExp(ClassExp exp)
|
protected Expression |
ExpWalker.walkClassExp(ClassExp exp)
|
protected Expression |
ChainLambdas.walkClassExp(ClassExp exp)
|
protected Expression |
FindTailCalls.walkClassExp(ClassExp exp)
|
protected Expression |
ExpWalker.walkExitExp(ExitExp exp)
|
protected Expression |
ExpWalker.walkExpression(Expression exp)
|
Expression[] |
ExpWalker.walkExps(Expression[] exps)
|
Expression[] |
ExpWalker.walkExps(Expression[] exps,
int n)
Call walk on the Expressions in an array. |
protected Expression |
FindCapturedVars.walkFluidLetExp(FluidLetExp exp)
|
protected Expression |
ExpWalker.walkFluidLetExp(FluidLetExp exp)
|
protected Expression |
FindTailCalls.walkFluidLetExp(FluidLetExp exp)
|
protected Expression |
ExpWalker.walkIfExp(IfExp exp)
|
protected Expression |
FindTailCalls.walkIfExp(IfExp exp)
|
protected Expression |
InlineCalls.walkIfExp(IfExp exp)
|
protected Expression |
ExpWalker.walkLambdaExp(LambdaExp exp)
|
protected Expression |
ChainLambdas.walkLambdaExp(LambdaExp exp)
|
protected Expression |
FindTailCalls.walkLambdaExp(LambdaExp exp)
|
protected Expression |
InlineCalls.walkLambdaExp(LambdaExp exp)
|
protected Expression |
ExpWalker.walkLangExp(LangExp exp)
|
protected Expression |
FindCapturedVars.walkLetExp(LetExp exp)
|
protected Expression |
ResolveNames.walkLetExp(LetExp exp)
|
protected Expression |
ExpWalker.walkLetExp(LetExp exp)
|
protected Expression |
FindTailCalls.walkLetExp(LetExp exp)
|
protected Expression |
InlineCalls.walkLetExp(LetExp exp)
|
protected Expression |
FindCapturedVars.walkModuleExp(ModuleExp exp)
|
protected Expression |
ExpWalker.walkModuleExp(ModuleExp exp)
|
protected Expression |
ExpWalker.walkObjectExp(ObjectExp exp)
|
protected Expression |
ExpWalker.walkQuoteExp(QuoteExp exp)
|
protected Expression |
FindCapturedVars.walkReferenceExp(ReferenceExp exp)
|
protected Expression |
ResolveNames.walkReferenceExp(ReferenceExp exp)
|
protected Expression |
ExpWalker.walkReferenceExp(ReferenceExp exp)
|
protected Expression |
FindTailCalls.walkReferenceExp(ReferenceExp exp)
|
protected Expression |
InlineCalls.walkReferenceExp(ReferenceExp exp)
|
protected Expression |
ResolveNames.walkScopeExp(ScopeExp exp)
|
protected Expression |
ExpWalker.walkScopeExp(ScopeExp exp)
|
protected Expression |
ChainLambdas.walkScopeExp(ScopeExp exp)
|
protected Expression |
FindCapturedVars.walkSetExp(SetExp exp)
|
protected Expression |
ResolveNames.walkSetExp(SetExp exp)
|
protected Expression |
ExpWalker.walkSetExp(SetExp exp)
|
protected Expression |
FindTailCalls.walkSetExp(SetExp exp)
|
protected Expression |
ExpWalker.walkSynchronizedExp(SynchronizedExp exp)
|
protected Expression |
FindTailCalls.walkSynchronizedExp(SynchronizedExp exp)
|
protected Expression |
FindCapturedVars.walkThisExp(ThisExp exp)
|
protected Expression |
ExpWalker.walkThisExp(ThisExp exp)
|
protected Expression |
ExpWalker.walkTryExp(TryExp exp)
|
protected Expression |
FindTailCalls.walkTryExp(TryExp exp)
|
| Methods in gnu.expr with parameters of type Expression | |
|---|---|
void |
BeginExp.add(Expression exp)
|
static Expression |
BeginExp.canonicalize(Expression exp)
Simplifies BeginExp. |
static Expression |
BeginExp.canonicalize(Expression[] exps)
|
static void |
ChainLambdas.chainLambdas(Expression exp,
Compilation comp)
|
static void |
IfExp.compile(Expression test,
Expression then_clause,
Expression else_clause,
Compilation comp,
Target target)
|
static void |
Expression.compileButFirst(Expression exp,
Compilation comp)
Compile all but the first sub-"statement". |
void |
Expression.compileNotePosition(Compilation comp,
Target target,
Expression position)
Compile, but take note of line number. |
static void |
ApplyExp.compileToArray(Expression[] args,
Compilation comp)
|
static void |
ConsumerTarget.compileUsingConsumer(Expression exp,
Compilation comp,
Target target)
Compile an expression using a temporary Consumer, if needed. |
static void |
ConsumerTarget.compileUsingConsumer(Expression exp,
Compilation comp,
Target target,
Method makeMethod,
Method resultMethod)
|
void |
Expression.compileWithPosition(Compilation comp,
Target target,
Expression position)
Same as 2-argument compileWithPosition, but use some other Expression's line number. |
boolean |
ConsumerTarget.compileWrite(Expression exp,
Compilation comp)
|
static void |
BindingInitializer.create(Declaration decl,
Expression value,
Compilation comp)
Create a BindingInitializer and link it into the correct intializer chain. |
static void |
FindCapturedVars.findCapturedVars(Expression exp,
Compilation comp)
|
static void |
FindTailCalls.findTailCalls(Expression exp,
Compilation comp)
|
static PrimProcedure |
PrimProcedure.getMethodFor(java.lang.Class procClass,
java.lang.String name,
Declaration decl,
Expression[] args,
Language language)
Get PrimProcedure for matching method in given class. |
static PrimProcedure |
PrimProcedure.getMethodFor(ClassType procClass,
java.lang.String name,
Declaration decl,
Expression[] args,
Language language)
|
static PrimProcedure |
PrimProcedure.getMethodFor(Procedure pproc,
Declaration decl,
Expression[] args,
Language language)
Search for a matching static method in a procedure's class. |
static PrimProcedure |
PrimProcedure.getMethodFor(Procedure pproc,
Expression[] args)
|
Type |
PrimProcedure.getReturnType(Expression[] args)
|
Type |
Inlineable.getReturnType(Expression[] args)
|
Type |
Language.getTypeFor(Expression exp)
|
Type |
Language.getTypeFor(Expression exp,
boolean lenient)
|
static void |
InlineCalls.inlineCalls(Expression exp,
Compilation comp)
|
boolean |
Compilation.inlineOk(Expression proc)
|
LetExp |
Compilation.letDone(Expression body)
|
Declaration |
Compilation.letVariable(java.lang.Object name,
Type type,
Expression init)
|
Declaration |
ResolveNames.lookup(Expression exp,
java.lang.Object symbol,
boolean function)
|
void |
Compilation.loopBody(Expression body)
|
void |
Compilation.loopCond(Expression cond)
|
Expression |
Compilation.loopRepeat(Expression exp)
|
Expression |
Compilation.loopRepeat(Expression[] exps)
|
Declaration |
Compilation.loopVariable(java.lang.Object name,
Type type,
Expression init)
|
static SetExp |
SetExp.makeDefinition(Declaration decl,
Expression val)
|
static SetExp |
SetExp.makeDefinition(java.lang.Object symbol,
Expression val)
|
void |
Declaration.makeField(ClassType frameType,
Compilation comp,
Expression value)
|
void |
Declaration.makeField(Compilation comp,
Expression value)
|
void |
Declaration.noteValue(Expression value)
|
static void |
PushApply.pushApply(Expression exp)
|
void |
ApplyExp.setArg(int i,
Expression arg)
|
void |
ApplyExp.setArgs(Expression[] args)
|
void |
CatchClause.setBody(Expression body)
|
void |
LetExp.setBody(Expression body)
|
void |
BlockExp.setBody(Expression body)
|
void |
BlockExp.setBody(Expression body,
Expression exitBody)
|
void |
BeginExp.setExpressions(Expression[] exps)
|
void |
ApplyExp.setFunction(Expression func)
|
void |
Compilation.setLine(Expression position)
|
Expression |
Expression.setLine(Expression old)
|
void |
Declaration.setTypeExp(Expression typeExp)
|
void |
Declaration.setValue(Expression value)
Set the value assoociated with this Declaration. |
Expression |
ExpWalker.walk(Expression exp)
Call the walk method of argument Expression. |
protected Expression |
ExpWalker.walkExpression(Expression exp)
|
Expression[] |
ExpWalker.walkExps(Expression[] exps)
|
Expression[] |
ExpWalker.walkExps(Expression[] exps,
int n)
Call walk on the Expressions in an array. |
| Constructors in gnu.expr with parameters of type Expression | |
|---|---|
ApplyExp(Expression f,
Expression[] a)
|
|
ApplyExp(Expression f,
Expression[] a)
|
|
ApplyExp( | |