public class ReaderPolicyNode_c extends PolicyNode_c
PolicyLabel
interface.Modifier and Type | Field and Description |
---|---|
protected java.util.List<PrincipalNode> |
principals |
owner, policy
Constructor and Description |
---|
ReaderPolicyNode_c(polyglot.util.Position pos,
PrincipalNode owner,
java.util.List<PrincipalNode> principals) |
ReaderPolicyNode_c(polyglot.util.Position pos,
PrincipalNode owner,
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() |
PolicyNode |
principals(java.util.List<PrincipalNode> principals) |
protected Policy |
producePolicy(JifTypeSystem ts,
Principal owner,
java.util.List<Principal> principals) |
protected ReaderPolicyNode_c |
reconstruct(PrincipalNode owner,
java.util.List<PrincipalNode> principals) |
polyglot.ast.Node |
visitChildren(polyglot.visit.NodeVisitor v) |
isDisambiguated, owner, owner, policy
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, copyIfNeeded, del, del, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, dump, enterChildScope, enterScope, error, error, error, exceptionCheck, exceptionCheckEnter, ext, ext, ext, ext, extRewrite, extRewriteEnter, extRewriteOverride, isTypeChecked, lang, position, position, position, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, throwTypes, toString, translate, typeCheck, typeCheckEnter, typeCheckOverride, visit, visitChild, visitEdge, visitList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
del, del, dump, error, error, ext, ext, ext, ext, 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, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitList
protected java.util.List<PrincipalNode> principals
public ReaderPolicyNode_c(polyglot.util.Position pos, PrincipalNode owner, java.util.List<PrincipalNode> principals)
public ReaderPolicyNode_c(polyglot.util.Position pos, PrincipalNode owner, java.util.List<PrincipalNode> principals, polyglot.ast.Ext ext)
public java.util.List<PrincipalNode> principals()
public PolicyNode principals(java.util.List<PrincipalNode> principals)
protected Policy producePolicy(JifTypeSystem ts, Principal owner, java.util.List<Principal> principals)
public polyglot.ast.Node disambiguate(polyglot.visit.AmbiguityRemover ar)
disambiguate
in interface polyglot.ast.NodeOps
disambiguate
in class polyglot.ast.Node_c
protected ReaderPolicyNode_c reconstruct(PrincipalNode owner, 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 void prettyPrint(polyglot.util.CodeWriter w, polyglot.visit.PrettyPrinter tr)
prettyPrint
in interface polyglot.ast.NodeOps
prettyPrint
in class polyglot.ast.Node_c