jif.ast

## Class PolicyNode_c

- java.lang.Object
- - polyglot.ast.Node_c
  - - jif.ast.PolicyNode_c

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, LabelComponentNode, PolicyNode, polyglot.ast.Node, polyglot.ast.NodeOps, polyglot.util.Copy<polyglot.ast.Node>
  Direct Known Subclasses:
    ReaderPolicyNode_c, WriterPolicyNode_c

      public class PolicyNode_c
      extends polyglot.ast.Node_c
      implements PolicyNode

  An implementation of the `PolicyLabel` interface.
  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface polyglot.util.Copy

      `polyglot.util.Copy.Util`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected PrincipalNode` | `owner`
    `protected Policy` | `policy`

    - ### Fields inherited from class polyglot.ast.Node_c

      `del, error, ext, position`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PolicyNode_c(polyglot.util.Position pos, Policy policy)`
    `PolicyNode_c(polyglot.util.Position pos, Policy policy, polyglot.ast.Ext ext)`
    `PolicyNode_c(polyglot.util.Position pos, PrincipalNode owner)` Deprecated.
    `PolicyNode_c(polyglot.util.Position pos, PrincipalNode owner, polyglot.ast.Ext ext)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isDisambiguated()`
    `PrincipalNode` | `owner()`
    `PolicyNode` | `owner(PrincipalNode owner)`
    `Policy` | `policy()`

    - ### Methods inherited from class polyglot.ast.Node_c

      `addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, copyIfNeeded, del, del, disambiguate, 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, prettyPrint, print, printBlock, printSubStmt, throwTypes, toString, translate, typeCheck, typeCheckEnter, typeCheckOverride, visit, visitChild, visitChildren, 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.Node

      `del, del, dump, error, error, ext, ext, ext, ext, isTypeChecked, position, position, visit, visitEdge`

    - ### Methods inherited from interface polyglot.ast.NodeOps

      `addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, extRewriteOverride, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitList`

    - ### Methods inherited from interface polyglot.util.Copy

      `copy`

- - ### Field Detail

    - #### owner

          protected PrincipalNode owner

    - #### policy

          protected Policy policy

  - ### Constructor Detail

    - #### PolicyNode_c

          public PolicyNode_c(polyglot.util.Position pos,
                              Policy policy)

    - #### PolicyNode_c

          public PolicyNode_c(polyglot.util.Position pos,
                              Policy policy,
                              polyglot.ast.Ext ext)

    - #### PolicyNode_c

          @Deprecated
          public PolicyNode_c(polyglot.util.Position pos,
                                          PrincipalNode owner)

      Deprecated.

    - #### PolicyNode_c

          public PolicyNode_c(polyglot.util.Position pos,
                              PrincipalNode owner,
                              polyglot.ast.Ext ext)

  - ### Method Detail

    - #### policy

          public Policy policy()

      Specified by:
        `policy` in interface `PolicyNode`

    - #### owner

          public PrincipalNode owner()

      Specified by:
        `owner` in interface `PolicyNode`

    - #### owner

          public PolicyNode owner(PrincipalNode owner)

      Specified by:
        `owner` in interface `PolicyNode`

    - #### isDisambiguated

          public boolean isDisambiguated()

      Specified by:
        `isDisambiguated` in interface `polyglot.ast.Node`
      Overrides:
        `isDisambiguated` in class `polyglot.ast.Node_c`