CodeSonar C++ API
[For improved navigation, enable JavaScript.]
cs_syntax_kind.hpp
Go to the documentation of this file.
1 #ifndef CS_SYNTAX_KIND_HPP
2 #define CS_SYNTAX_KIND_HPP
3 
5 #include "cs_types_common.h"
6 #include "cs_syntax_kind.h"
7 
10 namespace cs{
11 
25  class syntax_kind{
26  CS_ENUM_BOILERPLATE_UB(syntax_kind, cs_syntax_kind,
27  check(cs_syntax_kind_name(
28  inner, &rv)),
29  cs_syntax_kind_count);
31  };
32 #ifndef CSFE_API
33  CS_ENUM_BOILERPLATE_FRIENDS(syntax_kind,
34  friend class sfileinst;,
35  cs
36  )
37 #else /* CSFE_API */
38  CS_ENUM_BOILERPLATE_FRIENDS(syntax_kind,
39  friend class csfe::sfileinst;,
40  cs
41  )
42 #endif /* CSFE_API */
43 #include "cs_syntax_kind_defs.hpp"
44 
45 }
46 
47 #endif /* CS_SYNTAX_KIND_HPP */
Namespace for CodeSonar/CodeSurfer API.
Definition: cs_ast.hpp:33
Enumeration class: the kind of a span within a source file instance (sfileinst).
Definition: cs_syntax_kind.hpp:25
A source file instance.
Definition: cs_sfileinst_decl.hpp:302