|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.ext.jl.ast.Node_c
polyglot.ext.jl.ast.Term_c
polyglot.ext.jl.ast.Expr_c
polyglot.ext.jl.ast.Call_c
polyglot.ext.j0.ast.J0Call_c
Field Summary |
Fields inherited from class polyglot.ext.jl.ast.Call_c |
arguments, mi, name, target, targetImplicit |
Fields inherited from class polyglot.ext.jl.ast.Expr_c |
type |
Fields inherited from class polyglot.ext.jl.ast.Term_c |
reachable |
Fields inherited from class polyglot.ext.jl.ast.Node_c |
del, ext, position |
Constructor Summary | |
J0Call_c(Position pos,
Receiver target,
java.lang.String name,
java.util.List arguments)
|
Method Summary | |
void |
prettyPrint(CodeWriter w,
PrettyPrinter tr)
Write the expression to an output file. |
Node |
typeCheck(TypeChecker tc)
Type check the AST. |
Methods inherited from class polyglot.ext.jl.ast.Call_c |
acceptCFG, arguments, arguments, buildTypes, checkConsistency, childExpectedType, dump, entry, exceptionCheck, findTargetType, isTargetImplicit, methodInstance, methodInstance, name, name, precedence, procedureInstance, reconstruct, target, target, targetImplicit, throwTypes, toString, typeCheckNullTarget, visitChildren |
Methods inherited from class polyglot.ext.jl.ast.Expr_c |
booleanValue, byteValue, charValue, constantValue, doubleValue, floatValue, intValue, isConstant, longValue, printSubExpr, printSubExpr, shortValue, stringValue, type, type |
Methods inherited from class polyglot.ext.jl.ast.Term_c |
listEntry, reachable, reachable |
Methods inherited from class polyglot.ext.jl.ast.Node_c |
addDecls, addMembers, addMembersEnter, addMembersOverride, buildTypesEnter, buildTypesOverride, copy, del, del, disambiguate, disambiguateEnter, disambiguateOverride, enterScope, enterScope, exceptionCheckEnter, exceptionCheckOverride, ext, ext, ext, ext, init, node, position, position, print, printBlock, printSubStmt, translate, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface polyglot.ast.Call |
arguments, arguments, isTargetImplicit, methodInstance, methodInstance, name, name, target, target, targetImplicit |
Methods inherited from interface polyglot.ast.Expr |
constantValue, isConstant, precedence, printSubExpr, printSubExpr, type |
Methods inherited from interface polyglot.ast.Node |
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList |
Methods inherited from interface polyglot.ast.JL |
init, node |
Methods inherited from interface polyglot.ast.NodeOps |
addDecls, addMembers, addMembersEnter, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, throwTypes, translate, typeCheckEnter, visitChildren |
Methods inherited from interface polyglot.util.Copy |
copy |
Methods inherited from interface polyglot.ast.Typed |
type |
Methods inherited from interface polyglot.ast.Term |
acceptCFG, entry, reachable, reachable |
Methods inherited from interface polyglot.ast.ProcedureCall |
procedureInstance |
Constructor Detail |
public J0Call_c(Position pos, Receiver target, java.lang.String name, java.util.List arguments)
Method Detail |
public Node typeCheck(TypeChecker tc) throws SemanticException
NodeOps
leave()
method of the
visitor. The method should perform work that should be done
after visiting the children of the node. The method may return
this
or a new copy of the node which will be
installed as a child of the node's parent.
typeCheck
in interface NodeOps
typeCheck
in class Call_c
SemanticException
public void prettyPrint(CodeWriter w, PrettyPrinter tr)
prettyPrint
in interface NodeOps
prettyPrint
in class Call_c
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |