public class AuthConstraintNode_c extends ConstraintNode_c<AuthConstraint> implements AuthConstraintNode
AuthConstraintNode
interface.Modifier and Type | Field and Description |
---|---|
protected java.util.List<PrincipalNode> |
principals |
constraints
Constructor and Description |
---|
AuthConstraintNode_c(polyglot.util.Position pos,
java.util.List<PrincipalNode> principals) |
AuthConstraintNode_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 principal who grants their authorities.
|
AuthConstraintNode |
principals(java.util.List<PrincipalNode> principals)
Returns a copy of this node with the principal list updated.
|
protected <N extends AuthConstraintNode_c> |
principals(N n,
java.util.List<PrincipalNode> principals) |
protected <N extends AuthConstraintNode_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 AuthConstraintNode_c(polyglot.util.Position pos, java.util.List<PrincipalNode> principals)
public AuthConstraintNode_c(polyglot.util.Position pos, java.util.List<PrincipalNode> principals, polyglot.ast.Ext ext)
public java.util.List<PrincipalNode> principals()
AuthConstraintNode
principals
in interface AuthConstraintNode
public AuthConstraintNode principals(java.util.List<PrincipalNode> principals)
AuthConstraintNode
principals
in interface AuthConstraintNode
protected <N extends AuthConstraintNode_c> N principals(N n, java.util.List<PrincipalNode> principals)
protected <N extends AuthConstraintNode_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