|
||||||||||
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.Cast_c
polyglot.ext.op.OPCast
Field Summary |
Fields inherited from class polyglot.ext.jl.ast.Cast_c |
castType, expr |
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 | |
OPCast(Position pos,
TypeNode castType,
Expr expr)
|
Method Summary | |
static java.lang.String |
getter(Type t)
|
void |
translate(CodeWriter w,
Translator tr)
Translate the AST using the given code writer. |
static java.lang.String |
wrapper(Type t)
|
Methods inherited from class polyglot.ext.jl.ast.Cast_c |
acceptCFG, castType, castType, childExpectedType, constantValue, entry, expr, expr, isConstant, precedence, prettyPrint, reconstruct, throwTypes, toString, typeCheck, visitChildren |
Methods inherited from class polyglot.ext.jl.ast.Expr_c |
booleanValue, buildTypes, byteValue, charValue, doubleValue, dump, floatValue, intValue, 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, exceptionCheck, exceptionCheckEnter, exceptionCheckOverride, ext, ext, ext, ext, init, node, position, position, print, printBlock, printSubStmt, 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.Expr |
printSubExpr, printSubExpr, type |
Methods inherited from interface polyglot.ast.Node |
del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge |
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, typeCheckEnter |
Methods inherited from interface polyglot.util.Copy |
copy |
Methods inherited from interface polyglot.ast.Typed |
type |
Methods inherited from interface polyglot.ast.Term |
reachable, reachable |
Constructor Detail |
public OPCast(Position pos, TypeNode castType, Expr expr)
Method Detail |
public static java.lang.String getter(Type t)
public static java.lang.String wrapper(Type t)
public void translate(CodeWriter w, Translator tr)
NodeOps
translate
in interface NodeOps
translate
in class Node_c
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |