//===-- ASTNodes.def - ReST AST Metaprogramming -----------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
// This file defines macros used for macro-metaprogramming with ReST AST
// nodes.
//
//===----------------------------------------------------------------------===//

/// REST_AST_NODE(Id, Parent)

REST_AST_NODE(Document, ReSTASTNode)
REST_AST_NODE(Section, ReSTASTNode)
REST_AST_NODE(Topic, ReSTASTNode)
REST_AST_NODE(Sidebar, ReSTASTNode)
REST_AST_NODE(Title, ReSTASTNode)
REST_AST_NODE(Subtitle, ReSTASTNode)
REST_AST_NODE(Transition, ReSTASTNode)
REST_AST_NODE(Paragraph, ReSTASTNode)
REST_AST_NODE(BulletList, ReSTASTNode)
REST_AST_NODE(EnumeratedList, ReSTASTNode)
REST_AST_NODE(DefinitionListItem, ReSTASTNode)
REST_AST_NODE(DefinitionList, ReSTASTNode)
REST_AST_NODE(Field, ReSTASTNode)
REST_AST_NODE(FieldList, ReSTASTNode)
REST_AST_NODE(BlockQuote, ReSTASTNode)
REST_AST_NODE(TextAndInline, ReSTASTNode)
REST_AST_NODE(PrivateExtension, ReSTASTNode)

#undef REST_AST_NODE

