LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::yaml::AliasNode Class Reference

Represents an alias to a Node with an anchor. More...

#include <YAMLParser.h>

Inheritance diagram for llvm::yaml::AliasNode:
Inheritance graph
[legend]
Collaboration diagram for llvm::yaml::AliasNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AliasNode (OwningPtr< Document > &D, StringRef Val)
StringRef getName () const
NodegetTarget ()

Static Public Member Functions

static bool classof (const Node *N)

Detailed Description

Represents an alias to a Node with an anchor.

Example: AnchorName

Definition at line 442 of file YAMLParser.h.


Constructor & Destructor Documentation

llvm::yaml::AliasNode::AliasNode ( OwningPtr< Document > &  D,
StringRef  Val 
) [inline]

Definition at line 444 of file YAMLParser.h.


Member Function Documentation

static bool llvm::yaml::AliasNode::classof ( const Node N) [inline, static]

Definition at line 450 of file YAMLParser.h.

References llvm::yaml::Node::getType(), and llvm::yaml::Node::NK_Alias.

StringRef llvm::yaml::AliasNode::getName ( ) const [inline]

Definition at line 447 of file YAMLParser.h.

Node* llvm::yaml::AliasNode::getTarget ( )

The documentation for this class was generated from the following file: