Interface ICPPASTFieldReference

    • Method Detail

      • isTemplate

        boolean isTemplate()
        Was template keyword used?
      • setIsTemplate

        void setIsTemplate​(boolean value)
        Sets the template keyword used.
        Parameters:
        value -
      • copy

        ICPPASTFieldReference copy()
        Description copied from interface: IASTNode
        Returns a mutable copy of the tree rooted at this node. The following postconditions hold:
         copy.getParent() == null
         copy.getPropertyInParent() == null
         copy.isFrozen() == false
         
        Preprocessor nodes do not currently support being copied. Implicit name nodes are not copied, instead they can be regenerated if required.

        Calling this method is equivalent to copy(CopyStyle.withoutLocations).

        Specified by:
        copy in interface IASTExpression
        Specified by:
        copy in interface IASTFieldReference
        Specified by:
        copy in interface IASTInitializerClause
        Specified by:
        copy in interface IASTNode
        Since:
        5.1
      • getFieldOwnerType

        IType getFieldOwnerType()
        Returns the type of the field owner.
        Since:
        5.4