diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-29 12:40:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-29 12:40:46 +0200 |
commit | 381f872a76f6ad8fc5caee172e903f08dd652547 (patch) | |
tree | e6eb9e81154eb33421da34af9fe66360d4119cab /cli/semantics/doc.hxx | |
parent | 4c13393de7c54d3e2075ca89a0e3ade1415c59f8 (diff) |
Add parsing support for scope-level documentation
Diffstat (limited to 'cli/semantics/doc.hxx')
-rw-r--r-- | cli/semantics/doc.hxx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/cli/semantics/doc.hxx b/cli/semantics/doc.hxx new file mode 100644 index 0000000..4fca4e8 --- /dev/null +++ b/cli/semantics/doc.hxx @@ -0,0 +1,23 @@ +// file : cli/semantics/doc.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +#ifndef CLI_SEMANTICS_DOC_HXX +#define CLI_SEMANTICS_DOC_HXX + +#include <semantics/elements.hxx> + +namespace semantics +{ + // Scope-level documentation node. + // + class doc: public nameable, public doc_strings + { + public: + doc (path const& file, size_t line, size_t column) + : node (file, line, column) {} + }; +} + +#endif // CLI_SEMANTICS_DOC_HXX |