public class CallerConstraintNode_c extends ConstraintNode_c<CallerConstraint> implements CallerConstraintNode
CallerConstraint
interface.Modifier and Type | Field and Description |
---|---|
protected java.util.List<PrincipalNode> |
principals |
constraints
Constructor and Description |
---|
CallerConstraintNode_c(polyglot.util.Position pos,
java.util.List<PrincipalNode> principals) |
CallerConstraintNode_c(polyglot.util.Position pos,
java.util.List<PrincipalNode> principals,
polyglot.ast.Ext ext) |
Modifier and Type | Method and Description |
---|---|
polyglot.ast.Node |
disambiguate(polyglot.visit.AmbiguityRemover ar) |
void |
prettyPrint(polyglot.util.CodeWriter w,
polyglot.visit.PrettyPrinter tr) |
java.util.List<PrincipalNode> |
principals()
Gets the list of principals who need to grant their
authorities to the caller.
|
CallerConstraintNode |
principals(java.util.List<PrincipalNode> principals)
Returns a copy of this node with the principal list updated.
|
protected <N extends CallerConstraintNode_c> |
principals(N n,
java.util.List<PrincipalNode> principals) |
protected <N extends CallerConstraintNode_c> |
reconstruct(N n,
java.util.List<PrincipalNode> principals) |
void |
translate(polyglot.util.CodeWriter w,
polyglot.visit.Translator tr) |
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v) |
constraint, constraint, constraints, constraints, copy, exceptionCheckEnter, isDisambiguated, setConstraint, toString
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copyIfNeeded, del, del, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, dump, enterChildScope, enterScope, error, error, error, exceptionCheck, ext, ext, ext, ext, extRewrite, extRewriteEnter, extRewriteOverride, isTypeChecked, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
constraints, constraints
del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdge
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, extRewriteOverride, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitList
protected java.util.List<PrincipalNode> principals
public CallerConstraintNode_c(polyglot.util.Position pos, java.util.List<PrincipalNode> principals)
public CallerConstraintNode_c(polyglot.util.Position pos, java.util.List<PrincipalNode> principals, polyglot.ast.Ext ext)
public java.util.List<PrincipalNode> principals()
CallerConstraintNode
principals
in interface CallerConstraintNode
public CallerConstraintNode principals(java.util.List<PrincipalNode> principals)
CallerConstraintNode
principals
in interface CallerConstraintNode
protected <N extends CallerConstraintNode_c> N principals(N n, java.util.List<PrincipalNode> principals)
protected <N extends CallerConstraintNode_c> N reconstruct(N n, java.util.List<PrincipalNode> principals)
public polyglot.ast.Node visitChildren(polyglot.visit.NodeVisitor v)
visitChildren
in interface polyglot.ast.NodeOps
visitChildren
in class polyglot.ast.Node_c
public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover ar) throws polyglot.types.SemanticException
disambiguate
in interface polyglot.ast.NodeOps
disambiguate
in class polyglot.ast.Node_c
polyglot.types.SemanticException
public void prettyPrint(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
prettyPrint
in interface polyglot.ast.NodeOps
prettyPrint
in class polyglot.ast.Node_c
public void translate(polyglot.util.CodeWriter w, polyglot.visit.Translator tr)
translate
in interface polyglot.ast.NodeOps
translate
in class polyglot.ast.Node_c