LLVM API Documentation
Represents an alias to a Node with an anchor. More...
#include <YAMLParser.h>
Public Member Functions | |
AliasNode (std::unique_ptr< Document > &D, StringRef Val) | |
StringRef | getName () const |
Node * | getTarget () |
Static Public Member Functions | |
static bool | classof (const Node *N) |
Represents an alias to a Node with an anchor.
Example: AnchorName
Definition at line 443 of file YAMLParser.h.
llvm::yaml::AliasNode::AliasNode | ( | std::unique_ptr< Document > & | D, |
StringRef | Val | ||
) | [inline] |
Definition at line 447 of file YAMLParser.h.
static bool llvm::yaml::AliasNode::classof | ( | const Node * | N | ) | [inline, static] |
Definition at line 453 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 450 of file YAMLParser.h.