|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--polyglot.ext.jl.ast.Node_c
|
+--jif.ast.ConstraintNode_c
|
+--jif.ast.ActsForConstraintNode_c
An implementation of the ActsForConstraintNode interface.
| Field Summary | |
protected PrincipalNode |
actor
|
protected PrincipalNode |
granter
|
| Fields inherited from class jif.ast.ConstraintNode_c |
constraint |
| Fields inherited from class polyglot.ext.jl.ast.Node_c |
del, ext, position |
| Constructor Summary | |
ActsForConstraintNode_c(polyglot.util.Position pos,
PrincipalNode actor,
PrincipalNode granter)
|
|
| Method Summary | |
PrincipalNode |
actor()
Gets the actor principal. |
ActsForConstraintNode |
actor(PrincipalNode actor)
Returns a copy of this node with the actor updated. |
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover ar)
Builds the type of this node. |
PrincipalNode |
granter()
Gets the granter principal. |
ActsForConstraintNode |
granter(PrincipalNode granter)
Returns a copy of this node with the granter updated. |
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
|
protected ActsForConstraintNode_c |
reconstruct(PrincipalNode actor,
PrincipalNode granter)
Reconstructs this node. |
void |
translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr)
|
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v)
Visits the children of this node. |
| Methods inherited from class jif.ast.ConstraintNode_c |
constraint, constraint, toString |
| Methods inherited from class polyglot.ext.jl.ast.Node_c |
addDecls, addMembers, addMembersEnter, addMembersOverride, buildTypes, buildTypesEnter, buildTypesOverride, childExpectedType, copy, del, del, disambiguateEnter, disambiguateOverride, dump, enterScope, exceptionCheck, exceptionCheckEnter, exceptionCheckOverride, ext, ext, ext, ext, foldConstants, foldConstantsEnter, foldConstantsOverride, init, node, position, position, print, printBlock, printSubStmt, throwTypes, typeCheck, 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 jif.ast.ConstraintNode |
constraint, constraint |
| Methods inherited from interface polyglot.ast.Node |
childExpectedType, 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, disambiguateEnter, enterScope, exceptionCheck, exceptionCheckEnter, foldConstants, foldConstantsEnter, throwTypes, typeCheck, typeCheckEnter |
| Methods inherited from interface polyglot.util.Copy |
copy |
| Field Detail |
protected PrincipalNode actor
protected PrincipalNode granter
| Constructor Detail |
public ActsForConstraintNode_c(polyglot.util.Position pos,
PrincipalNode actor,
PrincipalNode granter)
| Method Detail |
public PrincipalNode actor()
actor in interface ActsForConstraintNodepublic ActsForConstraintNode actor(PrincipalNode actor)
actor in interface ActsForConstraintNodepublic PrincipalNode granter()
granter in interface ActsForConstraintNodepublic ActsForConstraintNode granter(PrincipalNode granter)
granter in interface ActsForConstraintNode
protected ActsForConstraintNode_c reconstruct(PrincipalNode actor,
PrincipalNode granter)
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren in interface polyglot.ast.NodeOpsvisitChildren in class polyglot.ext.jl.ast.Node_c
public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover ar)
throws polyglot.types.SemanticException
disambiguate in interface polyglot.ast.NodeOpsdisambiguate in class polyglot.ext.jl.ast.Node_cpolyglot.types.SemanticException
public void prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr)
prettyPrint in interface polyglot.ast.NodeOpsprettyPrint in class polyglot.ext.jl.ast.Node_c
public void translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr)
translate in interface polyglot.ast.NodeOpstranslate in class polyglot.ext.jl.ast.Node_c
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||