|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfmrisc.AST.ASTBase
fmrisc.AST.ExpressionBase
fmrisc.AST.ApplicationExpression
Handling of function and predicate applications.
Constructor Summary | |
ApplicationExpression(Expression fun,
Expression[] args)
construct application of fun to args |
Method Summary | |
Expression[] |
getArguments()
get arguments |
Expression |
getFunction()
get function/predicate |
Expression |
instantiate()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers |
void |
print(java.io.PrintWriter out)
Prints text representation on out (without new line termination). |
void |
printCore(java.io.PrintWriter out)
Prints text representation on out (without new line termination). |
Methods inherited from class fmrisc.AST.ExpressionBase |
printPriority |
Methods inherited from class fmrisc.AST.ASTBase |
printParens, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface fmrisc.AST.AST |
printParens, toString |
Constructor Detail |
public ApplicationExpression(Expression fun, Expression[] args)
fun
- the function/predicateargs
- the sequence of argumentsMethod Detail |
public Expression getFunction()
public Expression[] getArguments()
public Expression instantiate()
public void printCore(java.io.PrintWriter out)
printCore
in interface AST
printCore
in class ASTBase
out
- the stream on which the text is writtenpublic void print(java.io.PrintWriter out)
print
in interface AST
print
in class ASTBase
out
- the stream on which the text is written
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |