# HG changeset patch # User Kai T. Ohlhus # Date 1521645875 -3600 # Node ID 7edf1fb1d4b2b48117d98d87895bab31fc65d739 # Parent 5f4550b5d31bf08271f2a3042c193c85c0b706c6 doc: Add Doxygen documentation. * libinterp/corefcn/symscope.h: Expose some important comments to Doxygen. diff -r 5f4550b5d31b -r 7edf1fb1d4b2 libinterp/corefcn/symscope.h --- a/libinterp/corefcn/symscope.h Tue Mar 20 09:02:43 2018 -0700 +++ b/libinterp/corefcn/symscope.h Wed Mar 21 16:24:35 2018 +0100 @@ -531,33 +531,42 @@ private: - // Name for this scope (usually the corresponding filename of the - // function corresponding to the scope). + //! Name for this scope (usually the corresponding filename of the + //! function corresponding to the scope). + std::string m_name; - // Map from symbol names to symbol info. + //! Map from symbol names to symbol info. + std::map m_symbols; - // Map from symbol names to subfunctions. + //! Map from symbol names to subfunctions. + std::map m_subfunctions; - // The list of subfunctions (if any) in the order they appear in - // the function file. + //! The list of subfunctions (if any) in the order they appear in + //! the function file. + std::list m_subfunction_names; - // The associated user code (may be null). + //! The associated user code (may be null). + octave_user_function *m_fcn; - // Parent of nested function (may be null). + //! Parent of nested function (may be null). + std::weak_ptr m_parent; - // Child nested functions. + //! Child nested functions. + std::vector m_children; - // If true, then this scope belongs to a nested function. + //! If true, then this scope belongs to a nested function. + bool m_is_nested; - // If true then no variables can be added. + //! If true then no variables can be added. + bool m_is_static; symbol_record::context_id m_context;