Interface TypedefNameNode

All Superinterfaces:
ASTNode, SizeableNode, TypeNode

public interface TypedefNameNode extends TypeNode
  • Method Details

    • getName

      IdentifierNode getName()
    • setName

      void setName(IdentifierNode name)
    • copy

      Description copied from interface: ASTNode
      Returns a deep copy of this AST node. The node and all of its descendants will be cloned. The cloning does not copy analysis or attribute information.
      Specified by:
      copy in interface ASTNode
      Specified by:
      copy in interface SizeableNode
      Specified by:
      copy in interface TypeNode
      Returns:
      deep copy of this node
    • getScopeList

      SequenceNode<ExpressionNode> getScopeList()
      Returns the actual scope parameters used in this instances of a scope-generic typedef. Returns null if there are no scope parameters. A typedef declaration can have any number of scope parameters associated to it, e.g.:
       <s1,s2,s3> typedef struct _triple {
         double * a;
         double * b;
         double * c;
       } triple;
       
      When triple is used
       triple<t1, t2, t3> t;
       
      Returns:
      the list of scope identifiers in the declaration, or null if no such list occurred